From 58eb7a631c95d2caccb243f330364a685e9b8caa Mon Sep 17 00:00:00 2001 From: Stefan Behnel Date: Fri, 5 Mar 2010 10:11:36 +0100 Subject: [PATCH] fixes, fixes, ... --- runtests.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/runtests.py b/runtests.py index 91e3c2fa..c96e65cd 100644 --- a/runtests.py +++ b/runtests.py @@ -880,6 +880,7 @@ if __name__ == '__main__': os.path.join(sys.prefix, 'lib', 'python'+sys.version[:3], 'test'), 'pyregr')) + xml_output_dir = options.xml_output_dir if xml_output_dir: try: from xmlrunner import XMLTestRunner @@ -888,8 +889,8 @@ if __name__ == '__main__': "Failed to import xmlrunner.XMLTestRunner, no XML output available\n") xml_output_dir = None - if options.xml_output_dir: - test_runner = XMLTestRunner(output=options.xml_output_dir) + if xml_output_dir: + test_runner = XMLTestRunner(output=xml_output_dir, verbosity=options.verbosity) else: test_runner = unittest.TextTestRunner(verbosity=options.verbosity) -- 2.26.2