Index: tools/testrunner/local/execution.py |
diff --git a/tools/testrunner/local/execution.py b/tools/testrunner/local/execution.py |
index 25df0436256cd5b46609c7ee6335254f342d911d..0adf9c90718744d395b538dcb647f513e9891abb 100644 |
--- a/tools/testrunner/local/execution.py |
+++ b/tools/testrunner/local/execution.py |
@@ -90,7 +90,9 @@ class Runner(object): |
self.indicator.Starting() |
self._RunInternal(jobs) |
self.indicator.Done() |
- return not self.failed |
+ if self.failed: |
+ return 1 |
+ return 0 |
def _RunInternal(self, jobs): |
pool = multiprocessing.Pool(processes=jobs) |
@@ -147,6 +149,7 @@ class Runner(object): |
except KeyboardInterrupt: |
pool.terminate() |
pool.join() |
+ raise |
except Exception, e: |
print("Exception: %s" % e) |
pool.terminate() |