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

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: 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 0e5983134b6bdd29e92f42836145bc69cff167e2..cbab11c12703cb419ec2219555aafdb49794c15a 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())
+ print '*' * 80
frankf 2013/08/22 17:41:12 why not logging?
bulach 2013/08/23 09:13:55 done (the last one has to be print as it was, sinc
+ print 'Output from:'
+ print persisted_result['cmd']
+ print '*' * 80
print persisted_result['output']
return persisted_result['exit_code']
@@ -131,6 +135,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