subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rhuij...@apache.org
Subject svn commit: r931600 - /subversion/trunk/build/run_tests.py
Date Wed, 07 Apr 2010 15:59:20 GMT
Author: rhuijben
Date: Wed Apr  7 15:59:19 2010
New Revision: 931600

URL: http://svn.apache.org/viewvc?rev=931600&view=rev
Log:
* build/run_tests.py
  (TestHarness.run): While parsing the log for results remove '\r'
    characters introduced by reading the log as binary file. This
    should remove the blank lines from the Windows buildbot output.

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=931600&r1=931599&r2=931600&view=diff
==============================================================================
--- subversion/trunk/build/run_tests.py (original)
+++ subversion/trunk/build/run_tests.py Wed Apr  7 15:59:19 2010
@@ -125,6 +125,10 @@ class TestHarness:
     self._open_log('rb')
     log_lines = self.log.readlines()
 
+    # Remove \r characters introduced by opening the log as binary
+    if sys.platform == 'win32':
+      log_lines = [x.replace('\r', '') for x in log_lines]
+
     # Print the results, from least interesting to most interesting.
 
     # Helper for Work-In-Progress indications for XFAIL tests.



Mime
View raw message