Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(239)

Unified Diff: generate_test_report.py

Issue 4088007: Add direct flush calls to stderr / stdout. (Closed) Base URL: http://git.chromium.org/git/crosutils.git
Patch Set: Fix comments Created 10 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: generate_test_report.py
diff --git a/generate_test_report.py b/generate_test_report.py
index f152a61a7468d34e09012bb58f44faa4aed3d8bf..d84e6159c141824a8207715e5e30b8402bfba6bc 100755
--- a/generate_test_report.py
+++ b/generate_test_report.py
@@ -234,6 +234,10 @@ class ReportGenerator(object):
except:
print 'Could not open %s' % path
+ # Sometimes the builders exit before these buffers are flushed.
+ sys.stderr.flush()
+ sys.stdout.flush()
+
def Run(self):
"""Runs report generation."""
self._CollectResults()
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698