Index: tools/testrunner/local/progress.py |
diff --git a/tools/testrunner/local/progress.py b/tools/testrunner/local/progress.py |
index 2c9f650013eb5daacb75af09985009a960545806..8caa58c44ccb4864eaccfd804151961a4aed646c 100644 |
--- a/tools/testrunner/local/progress.py |
+++ b/tools/testrunner/local/progress.py |
@@ -318,9 +318,9 @@ class JsonTestProgressIndicator(ProgressIndicator): |
def HasRun(self, test, has_unexpected_output): |
self.progress_indicator.HasRun(test, has_unexpected_output) |
- if test.run == 1 and not has_unexpected_output: |
- # Omit tests that pass on the first run, but collect output of tests |
- # that pass when rerun. |
+ if not has_unexpected_output: |
+ # Omit tests that run as expected. Passing tests of reruns after failures |
+ # will have unexpected_output to be reported here has well. |
return |
self.results.append({ |