Commit db0f479d authored by Stefan Behnel's avatar Stefan Behnel

cleanup

parent c17a30b8
...@@ -837,6 +837,11 @@ if __name__ == '__main__': ...@@ -837,6 +837,11 @@ if __name__ == '__main__':
sys.path.insert(0, os.path.split(libpath)[0]) sys.path.insert(0, os.path.split(libpath)[0])
CFLAGS.append("-DCYTHON_REFNANNY=1") CFLAGS.append("-DCYTHON_REFNANNY=1")
if options.xml_output_dir and options.fork:
# doesn't currently work together
sys.stderr.write("Disabling forked testing to support XML test output\n")
options.fork = False
test_bugs = False test_bugs = False
if options.tickets: if options.tickets:
for ticket_number in options.tickets: for ticket_number in options.tickets:
...@@ -882,11 +887,6 @@ if __name__ == '__main__': ...@@ -882,11 +887,6 @@ if __name__ == '__main__':
if options.doctests: if options.doctests:
collect_doctests(UNITTEST_ROOT, UNITTEST_MODULE + ".", test_suite, selectors) collect_doctests(UNITTEST_ROOT, UNITTEST_MODULE + ".", test_suite, selectors)
if options.xml_output_dir:
# doesn't currently work together
print("Disabling forked testing to support XML test output")
options.fork = False
if options.filetests and languages: if options.filetests and languages:
filetests = TestBuilder(ROOTDIR, WORKDIR, selectors, exclude_selectors, filetests = TestBuilder(ROOTDIR, WORKDIR, selectors, exclude_selectors,
options.annotate_source, options.cleanup_workdir, options.annotate_source, options.cleanup_workdir,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment