You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by st...@apache.org on 2012/09/20 01:00:25 UTC
svn commit: r1387807 - /subversion/trunk/build/run_tests.py
Author: stsp
Date: Wed Sep 19 23:00:25 2012
New Revision: 1387807
URL: http://svn.apache.org/viewvc?rev=1387807&view=rev
Log:
* build/run_tests.py
(TestHarness): In progress reporting callbacks, don't ever print more dots
than we were planning to print.
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=1387807&r1=1387806&r2=1387807&view=diff
==============================================================================
--- subversion/trunk/build/run_tests.py (original)
+++ subversion/trunk/build/run_tests.py Wed Sep 19 23:00:25 2012
@@ -384,6 +384,8 @@ class TestHarness:
self.dots_written = 0
def progress_func(completed):
dots = (completed * dot_count) / total
+ if dots > dot_count:
+ dots = dot_count
dots_to_write = dots - self.dots_written
if self.log:
@@ -493,6 +495,8 @@ class TestHarness:
self.dots_written = 0
def progress_func(completed, total):
dots = (completed * dot_count) / total
+ if dots > dot_count:
+ dots = dot_count
dots_to_write = dots - self.dots_written
if self.log: