]> gitweb.michael.orlitzky.com - dunshire.git/commitdiff
Print a "pass" count during testing loops.
authorMichael Orlitzky <michael@orlitzky.com>
Fri, 11 Nov 2016 22:33:53 +0000 (17:33 -0500)
committerMichael Orlitzky <michael@orlitzky.com>
Sun, 13 Nov 2016 20:19:27 +0000 (15:19 -0500)
test/__main__.py

index aca4e64ec83a4f944e57ec67117c6d2de74db0db..d03b7a6968504f2b941cb4dd223a13676565e32b 100755 (executable)
@@ -28,7 +28,10 @@ if result.wasSuccessful() and not loop:
     exit(0)
 
 if loop:
+    passed = 0
     while(result.wasSuccessful()):
+        print('Passed: {:d}'.format(passed))
+        passed += 1
         result = run_suite(build_suite(doctests))
 
 exit(1)