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

Issue 11886071: Telemetry & Android: fix stderr / stdout getting mixed. (Closed)

Created:
7 years, 11 months ago by marja
Modified:
7 years, 11 months ago
Reviewers:
bulach
CC:
chromium-reviews, klundberg+watch_chromium.org, frankf+watch_chromium.org, bulach+watch_chromium.org, yfriedman+watch_chromium.org, ilevy+watch_chromium.org
Visibility:
Public.

Description

Telemetry & Android: fix stderr / stdout getting mixed. The benchmarks first print results to stdout, then information about skipped / failed page to stderr. The test runners also redirect both streams to the same file. If stdout is not properly flushed, the stderr output might appear in the middle of the stdout output, and this makes the log parser fail. R=bulach BUG=none Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=177162

Patch Set 1 #

Total comments: 2

Patch Set 2 : Code review (bulach) #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -0 lines) Patch
M build/android/pylib/perf_tests_helper.py View 1 2 chunks +2 lines, -0 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
marja
ptal
7 years, 11 months ago (2013-01-16 17:19:29 UTC) #1
bulach
lgtm with one nit https://codereview.chromium.org/11886071/diff/1/build/android/pylib/perf_tests_helper.py File build/android/pylib/perf_tests_helper.py (right): https://codereview.chromium.org/11886071/diff/1/build/android/pylib/perf_tests_helper.py#newcode126 build/android/pylib/perf_tests_helper.py:126: import sys probably more common ...
7 years, 11 months ago (2013-01-16 17:23:26 UTC) #2
marja
7 years, 11 months ago (2013-01-16 17:25:26 UTC) #3
Thanks for review!

https://codereview.chromium.org/11886071/diff/1/build/android/pylib/perf_test...
File build/android/pylib/perf_tests_helper.py (right):

https://codereview.chromium.org/11886071/diff/1/build/android/pylib/perf_test...
build/android/pylib/perf_tests_helper.py:126: import sys
On 2013/01/16 17:23:26, bulach wrote:
> probably more common to import in the header as usual?

Done.

Powered by Google App Engine
This is Rietveld 408576698