Make runtest more fault tolerant on test run failures.

Adjust so when running multiple suites, the whole run is not aborted on a
single suite failure.
This commit is contained in:
Brett Chabot
2010-01-21 17:30:47 -08:00
parent 63d9d00529
commit 920e9fefab

View File

@@ -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...")