From b346c424be729f64cb69a8e1806c4bf53894857f Mon Sep 17 00:00:00 2001 From: Richard Kreuter Date: Tue, 13 Apr 2010 11:55:06 -0400 Subject: [PATCH 1/2] Make makealldists.py buildbot-timeout-friendlier. --- buildscripts/makealldists.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/buildscripts/makealldists.py b/buildscripts/makealldists.py index af18338718d..951ef1afb5e 100755 --- a/buildscripts/makealldists.py +++ b/buildscripts/makealldists.py @@ -141,6 +141,9 @@ def lose(name, logfh, losefh): print >> losefh, "=== End loser %s ===" % name def wait(procs, winfh, losefh, winners, losers): + # emit a blank line, so that the buildbot doesn't kill us off + # while waiting for output. + print "" try: (pid, stat) = os.wait() except OSError, err: From 07335af80d091e51bb3156fbe67fb94f1d5fea88 Mon Sep 17 00:00:00 2001 From: Richard Kreuter Date: Tue, 13 Apr 2010 13:24:37 -0400 Subject: [PATCH 2/2] Try #2 at making makealldists.py buildbot friendly. --- buildscripts/makealldists.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/buildscripts/makealldists.py b/buildscripts/makealldists.py index 951ef1afb5e..4099c1ab591 100755 --- a/buildscripts/makealldists.py +++ b/buildscripts/makealldists.py @@ -143,7 +143,8 @@ def lose(name, logfh, losefh): def wait(procs, winfh, losefh, winners, losers): # emit a blank line, so that the buildbot doesn't kill us off # while waiting for output. - print "" + sys.stdout.write('.') + sys.stdout.flush try: (pid, stat) = os.wait() except OSError, err: