Code

Unittestgui changed their interface, they no longer support the
authorwc2so1 <wc2so1@57a73879-2fb5-44c3-a270-3262357dd7e2>
Mon, 1 Mar 2004 20:06:08 +0000 (20:06 +0000)
committerwc2so1 <wc2so1@57a73879-2fb5-44c3-a270-3262357dd7e2>
Mon, 1 Mar 2004 20:06:08 +0000 (20:06 +0000)
minimal option.

git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2135 57a73879-2fb5-44c3-a270-3262357dd7e2

run_tests.py

index 750c29160508286deabcfc26836e804fce105428..401c74a8e61808ccf01c213868a241d5013dc642 100644 (file)
@@ -358,6 +358,7 @@ class PathInit:
         # Hack sys.path
         self.cwd = os.getcwd()
         sys.path.insert(0, os.path.join(self.cwd, self.libdir))
+        print sys.path
         # Hack again for external products.
         global functional
         kind = functional and "functional" or "unit"
@@ -538,7 +539,8 @@ def gui_runner(files, test_filter):
 
     suites = ", ".join(suites)
     minimal = (GUI == "minimal")
-    unittestgui.main(suites, minimal)
+    # unittestgui apparently doesn't take the minimal flag anymore
+    unittestgui.main(suites)
 
 class TrackRefs:
     """Object to track reference counts across test runs."""