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

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

Issue 22875036: Android perf test runner: fixes exit_code. (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 bf09dfe00ee121af576fac779ef3421ebc78f0b5..a8aae0adcba07483cf61639740babd87bf3dbc19 100644
--- a/build/android/pylib/perf/test_runner.py
+++ b/build/android/pylib/perf/test_runner.py
@@ -115,6 +115,8 @@ class TestRunner(base_test_runner.BaseTestRunner):
withexitstatus=True, logfile=sys.stdout, timeout=1800,
env=os.environ)
end_time = datetime.datetime.now()
+ if exit_code is None:
+ exit_code = -1
frankf 2013/08/22 17:43:06 Ah, this might a bug in pexpect I was talking abou
bulach 2013/08/23 09:01:16 :) I don't quite get why / which test happened ye
logging.info('%s : exit_code=%d in %d secs at %s',
test_name, exit_code, (end_time - start_time).seconds,
self.device)
« 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