OSDN Git Service
(root)
/
android-x86
/
development.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
63d9d00
)
Make runtest more fault tolerant on test run failures.
author
Brett Chabot
<brettchabot@android.com>
Fri, 22 Jan 2010 01:30:47 +0000
(17:30 -0800)
committer
Brett Chabot
<brettchabot@android.com>
Fri, 22 Jan 2010 01:33:05 +0000
(17:33 -0800)
Adjust so when running multiple suites, the whole run is not aborted on a
single suite failure.
testrunner/runtest.py
patch
|
blob
|
history
diff --git
a/testrunner/runtest.py
b/testrunner/runtest.py
index
a4d7231
..
a3135db
100755
(executable)
--- a/
testrunner/runtest.py
+++ b/
testrunner/runtest.py
@@
-320,7
+320,10
@@
class TestRunner(object):
self._DoBuild()
for test_suite in self._GetTestsToRun():
- test_suite.Run(self._options, self._adb)
+ try:
+ test_suite.Run(self._options, self._adb)
+ except errors.WaitForResponseTimedOutError:
+ logger.Log("Timed out waiting for response")
except KeyboardInterrupt:
logger.Log("Exiting...")