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

Unified Diff: build/android/pylib/perf_tests_helper.py

Issue 11886071: Telemetry & Android: fix stderr / stdout getting mixed. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Code review (bulach) Created 7 years, 11 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: build/android/pylib/perf_tests_helper.py
diff --git a/build/android/pylib/perf_tests_helper.py b/build/android/pylib/perf_tests_helper.py
index ee2519bbd3a2b523a57700d26019184c5c478449..9cd35c6f67ccdafff26b3bbd62590ea8d6da6a04 100644
--- a/build/android/pylib/perf_tests_helper.py
+++ b/build/android/pylib/perf_tests_helper.py
@@ -3,6 +3,7 @@
# found in the LICENSE file.
import re
+import sys
import android_commands
import json
@@ -123,6 +124,7 @@ def PrintPerfResult(measurement, trace, values, units, result_type='default',
output += '\nSd %s: %f%s' % (measurement, sd, units)
if print_to_stdout:
print output
+ sys.stdout.flush()
return output
« 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