From: Stefan Behnel Date: Sat, 13 Mar 2010 07:24:13 +0000 (+0100) Subject: cleanup X-Git-Tag: 0.13.beta0~312 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=db0f479dc67009faa517607bad8b75257fead465;p=cython.git cleanup --- 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,