From db0f479dc67009faa517607bad8b75257fead465 Mon Sep 17 00:00:00 2001 From: Stefan Behnel Date: Sat, 13 Mar 2010 08:24:13 +0100 Subject: [PATCH] cleanup --- runtests.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/runtests.py b/runtests.py index 6000de53..f1b71f44 100644 --- a/runtests.py +++ b/runtests.py @@ -837,6 +837,11 @@ if __name__ == '__main__': sys.path.insert(0, os.path.split(libpath)[0]) 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 if options.tickets: for ticket_number in options.tickets: @@ -882,11 +887,6 @@ if __name__ == '__main__': if options.doctests: 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: filetests = TestBuilder(ROOTDIR, WORKDIR, selectors, exclude_selectors, options.annotate_source, options.cleanup_workdir, -- 2.26.2