Index: tools/testrunner/local/execution.py |
diff --git a/tools/testrunner/local/execution.py b/tools/testrunner/local/execution.py |
index 0f52616d97fcc574caeeadf07c5a111684e324fc..4453c08451f48cffd3891b4a62c7078e7d3972da 100644 |
--- a/tools/testrunner/local/execution.py |
+++ b/tools/testrunner/local/execution.py |
@@ -138,14 +138,15 @@ class Runner(object): |
self.indicator.AboutToRun(test) |
test.output = result[1] |
test.duration = result[2] |
- if test.suite.HasUnexpectedOutput(test): |
+ has_unexpected_output = test.suite.HasUnexpectedOutput(test) |
+ if has_unexpected_output: |
self.failed.append(test) |
if test.output.HasCrashed(): |
self.crashed += 1 |
else: |
self.succeeded += 1 |
self.remaining -= 1 |
- self.indicator.HasRun(test) |
+ self.indicator.HasRun(test, has_unexpected_output) |
except KeyboardInterrupt: |
pool.terminate() |
pool.join() |