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

Unified Diff: testing/test_env.py

Issue 2515643003: Flush stdout before shelling out. (Closed)
Patch Set: Created 4 years, 1 month 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: testing/test_env.py
diff --git a/testing/test_env.py b/testing/test_env.py
index 7d72169d235d63189df04dcb037c78eb5fa70b9e..2e446e7e5218a33b199aa2ee4aa8c04180e62351 100755
--- a/testing/test_env.py
+++ b/testing/test_env.py
@@ -211,6 +211,7 @@ def run_executable(cmd, env):
'\n'.join(' %s=%s' %
(k, v) for k, v in sorted(extra_env.iteritems())),
' '.join(cmd)))
+ sys.stdout.flush()
env.update(extra_env or {})
try:
# See above comment regarding offline symbolization.
« 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