Try to really fix the slow buildbots this time.

Printing to stdout, doesn't mean the data was actually written.
It depends on the buffering, so we need to flush.  This will hopefully
really fix the buildbots getting killed due to no output on the slow bots.
This commit is contained in:
Neal Norwitz 2006-04-28 04:34:43 +00:00
parent 0bbbb005c5
commit dd28d1c6c2
1 changed files with 1 additions and 0 deletions

View File

@ -26,6 +26,7 @@ class CompilerTest(unittest.TestCase):
next_time = time.time() + _PRINT_WORKING_MSG_INTERVAL next_time = time.time() + _PRINT_WORKING_MSG_INTERVAL
print >>sys.__stdout__, \ print >>sys.__stdout__, \
' testCompileLibrary still working, be patient...' ' testCompileLibrary still working, be patient...'
sys.__stdout__.flush()
if not basename.endswith(".py"): if not basename.endswith(".py"):
continue continue