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

Unified Diff: build/android/pylib/perf/test_runner.py

Issue 23316004: Android perf runner: print the command line in the step itself. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: logging Created 7 years, 4 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/test_runner.py
diff --git a/build/android/pylib/perf/test_runner.py b/build/android/pylib/perf/test_runner.py
index bf09dfe00ee121af576fac779ef3421ebc78f0b5..bf265dac5a03d68677ba0a87025e0937051a44a4 100644
--- a/build/android/pylib/perf/test_runner.py
+++ b/build/android/pylib/perf/test_runner.py
@@ -72,6 +72,10 @@ def PrintTestOutput(test_name):
with file(file_name, 'r') as f:
persisted_result = pickle.loads(f.read())
+ logging.info('*' * 80)
+ logging.info('Output from:')
+ logging.info(persisted_result['cmd'])
+ logging.info('*' * 80)
print persisted_result['output']
return persisted_result['exit_code']
@@ -132,6 +136,7 @@ class TestRunner(base_test_runner.BaseTestRunner):
'result_type': result_type,
'total_time': (end_time - start_time).seconds,
'device': self.device,
+ 'cmd': cmd,
}
self._SaveResult(persisted_result)
« 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