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.
diff --git a/testrunner/runtest.py b/testrunner/runtest.py
index a4d7231..a3135db 100755
--- a/testrunner/runtest.py
+++ b/testrunner/runtest.py
@@ -320,7 +320,10 @@
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...")