Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(133)

Unified Diff: mojo/tools/mopy/gtest.py

Issue 1275123002: Report the apptest fixture name for isolated fixture crashes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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):
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698