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) |