You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by rh...@apache.org on 2011/07/28 16:34:35 UTC
svn commit: r1151873 - /subversion/trunk/build/run_tests.py
Author: rhuijben
Date: Thu Jul 28 14:34:35 2011
New Revision: 1151873
URL: http://svn.apache.org/viewvc?rev=1151873&view=rev
Log:
* build/run_tests.py
(_run_c_test): Remove carriage return from c test stdout on Windows to reduce
the amount of unneeded vertical whitespace in the log 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=1151873&r1=1151872&r2=1151873&view=diff
==============================================================================
--- subversion/trunk/build/run_tests.py (original)
+++ subversion/trunk/build/run_tests.py Thu Jul 28 14:34:35 2011
@@ -345,6 +345,10 @@ class TestHarness:
stderr=self.log)
line = prog.stdout.readline()
while line:
+ if sys.platform == 'win32':
+ # Remove CRs inserted because we parse the output as binary.
+ line = line.replace('\r', '')
+
# If using --log-to-stdout self.log in None.
if self.log:
self.log.write(line)