You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by da...@apache.org on 2012/03/05 21:37:08 UTC
svn commit: r1297223 - /subversion/trunk/build/run_tests.py
Author: danielsh
Date: Mon Mar 5 20:37:08 2012
New Revision: 1297223
URL: http://svn.apache.org/viewvc?rev=1297223&view=rev
Log:
Yellow, I said!
* build/run_tests.py
(_get_term_width): Add a hook that allows me to opt out of the new logic.
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=1297223&r1=1297222&r2=1297223&view=diff
==============================================================================
--- subversion/trunk/build/run_tests.py (original)
+++ subversion/trunk/build/run_tests.py Mon Mar 5 20:37:08 2012
@@ -84,6 +84,9 @@ def _get_term_width():
return None
return cr
+ if os.path.exists('../.width'):
+ return int(open('../.width').readline())
+
cr = ioctl_GWINSZ(0) or ioctl_GWINSZ(1) or ioctl_GWINSZ(2)
if not cr:
try: