subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From danie...@apache.org
Subject svn commit: r1297223 - /subversion/trunk/build/run_tests.py
Date Mon, 05 Mar 2012 20:37:08 GMT
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:



Mime
View raw message