diff options
author | simonhatch <simonhatch@chromium.org> | 2015-02-12 07:29:35 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-02-12 15:30:05 +0000 |
commit | bd3aa1380548de94e30206492646d7cb5ccaf0f6 (patch) | |
tree | 2536c92ec56c3794f9e9e878f555aba9767f87c9 /build | |
parent | a17c85616644e8a6cca709bfe0eecb299e500ac1 (diff) | |
download | chromium_src-bd3aa1380548de94e30206492646d7cb5ccaf0f6.zip chromium_src-bd3aa1380548de94e30206492646d7cb5ccaf0f6.tar.gz chromium_src-bd3aa1380548de94e30206492646d7cb5ccaf0f6.tar.bz2 |
Output device affinity along with the test name from test_runner.py.
This will let us sort the runs by device, and make it clearer if one device is having trouble.
Example: http://simonhatch0.mon.corp.google.com:8013/builders/Android%20Nexus7v2%20Perf/builds/455
Must land first: https://codereview.chromium.org/908313002/
BUG=455813
Review URL: https://codereview.chromium.org/914703002
Cr-Commit-Position: refs/heads/master@{#315980}
Diffstat (limited to 'build')
-rw-r--r-- | build/android/pylib/perf/test_runner.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/build/android/pylib/perf/test_runner.py b/build/android/pylib/perf/test_runner.py index b7fadd2..d9227a5 100644 --- a/build/android/pylib/perf/test_runner.py +++ b/build/android/pylib/perf/test_runner.py @@ -69,9 +69,10 @@ from pylib.device import device_errors def OutputJsonList(json_input, json_output): with file(json_input, 'r') as i: all_steps = json.load(i) - step_names = all_steps['steps'].keys() + step_values = [{'test': k, 'device_affinity': v['device_affinity']} + for k, v in all_steps['steps'].iteritems()] with file(json_output, 'w') as o: - o.write(json.dumps(step_names)) + o.write(json.dumps(step_values)) return 0 |