subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From julianf...@apache.org
Subject svn commit: r1424695 - /subversion/trunk/build/run_tests.py
Date Thu, 20 Dec 2012 20:46:56 GMT
Author: julianfoad
Date: Thu Dec 20 20:46:56 2012
New Revision: 1424695

URL: http://svn.apache.org/viewvc?rev=1424695&view=rev
Log:
Tweak the test suite output to move the overall progress numbers into an aligned
column on the left, as an additional change following the recent removal of
the 'Running all tests in ' prefix in r1424455.

* build/run_tests.py
  (TestHarness._run_test): Move the [01/98] progress before the test name.

Modified:
    subversion/trunk/build/run_tests.py

Modified: subversion/trunk/build/run_tests.py
URL: http://svn.apache.org/viewvc/subversion/trunk/build/run_tests.py?rev=1424695&r1=1424694&r2=1424695&view=diff
==============================================================================
--- subversion/trunk/build/run_tests.py (original)
+++ subversion/trunk/build/run_tests.py Thu Dec 20 20:46:56 2012
@@ -565,7 +565,7 @@ class TestHarness:
     progdir, progbase = os.path.split(prog)
     if self.log:
       # Using write here because we don't want even a trailing space
-      test_info = '%s [%d/%d]' % (progbase, test_nr + 1, total_tests)
+      test_info = '[%02d/%d] %s' % (test_nr + 1, total_tests, progbase)
       if self.list_tests:
         sys.stdout.write('Listing tests in %s' % (test_info, ))
       else:



Mime
View raw message