Index: mojo/tools/mopy/gtest.py |
diff --git a/mojo/tools/mopy/gtest.py b/mojo/tools/mopy/gtest.py |
index 947fcaa0dfe32942e121b636151a329444c45f1e..996d23277609699eef31672494e87ba2d942c5b0 100644 |
--- a/mojo/tools/mopy/gtest.py |
+++ b/mojo/tools/mopy/gtest.py |
@@ -51,7 +51,8 @@ def run_apptest(config, shell, args, apptest, isolate): |
failed = [] |
for fixture in fixtures: |
arguments = args + ['--gtest_filter=%s' % fixture] |
- failed.extend(_run_apptest_with_retry(config, shell, arguments, apptest)[1]) |
+ failures = _run_apptest_with_retry(config, shell, arguments, apptest)[1] |
+ failed.extend(failures if failures != [apptest] else [fixture]) |
# Abort when 20 fixtures, or a tenth of the apptest fixtures, have failed. |
# base::TestLauncher does this for timeouts and unknown results. |
if len(failed) >= max(20, len(fixtures) / 10): |