]> granicus.if.org Git - python/commitdiff
Get regrtest working when re-running tests
authorNeal Norwitz <nnorwitz@gmail.com>
Tue, 18 Mar 2008 17:58:02 +0000 (17:58 +0000)
committerNeal Norwitz <nnorwitz@gmail.com>
Tue, 18 Mar 2008 17:58:02 +0000 (17:58 +0000)
Lib/test/regrtest.py

index ff132fbcda862500e0f11d76c6bff9714f1c48ec..16f23f3d482d22b89dc7be7f5ffe90121010ba98 100755 (executable)
@@ -437,8 +437,8 @@ def main(tests=None, testdir=None, verbose=0, quiet=False, generate=False,
             print "Re-running test %r in verbose mode" % test
             sys.stdout.flush()
             try:
-                test_support.verbose = 1
-                ok = runtest(test, generate, 1, quiet, testdir,
+                test_support.verbose = True
+                ok = runtest(test, generate, True, quiet, test_times, testdir,
                              huntrleaks)
             except KeyboardInterrupt:
                 # print a newline separate from the ^C