fix last commit
authorStefan Behnel <scoder@users.berlios.de>
Fri, 5 Mar 2010 09:05:23 +0000 (10:05 +0100)
committerStefan Behnel <scoder@users.berlios.de>
Fri, 5 Mar 2010 09:05:23 +0000 (10:05 +0100)
runtests.py

index f5958f7ea48082b10d9b4dee300bac9334076a8f..91e3c2fab9e050d77b4d9903bd332f1a9bb5b935 100644 (file)
@@ -888,8 +888,8 @@ if __name__ == '__main__':
                 "Failed to import xmlrunner.XMLTestRunner, no XML output available\n")
             xml_output_dir = None
 
-    if xml_output_dir:
-        test_runner = XMLTestRunner(output=xml_output_dir)
+    if options.xml_output_dir:
+        test_runner = XMLTestRunner(output=options.xml_output_dir)
     else:
         test_runner = unittest.TextTestRunner(verbosity=options.verbosity)