]> granicus.if.org Git - python/commitdiff
Try to really fix the slow buildbots this time.
authorNeal Norwitz <nnorwitz@gmail.com>
Fri, 28 Apr 2006 04:34:43 +0000 (04:34 +0000)
committerNeal Norwitz <nnorwitz@gmail.com>
Fri, 28 Apr 2006 04:34:43 +0000 (04:34 +0000)
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.

Lib/test/test_compiler.py

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