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

Unified Diff: ios/build/bots/scripts/test_runner.py

Issue 2814453007: Enable retries for failed xctests (Closed)
Patch Set: Created 3 years, 8 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: ios/build/bots/scripts/test_runner.py
diff --git a/ios/build/bots/scripts/test_runner.py b/ios/build/bots/scripts/test_runner.py
index 69b8182054c7ae71f4b1ae8388c9dca3eab6406d..5f1b53800521ff4bd2ed129229c1c9410f300fa5 100644
--- a/ios/build/bots/scripts/test_runner.py
+++ b/ios/build/bots/scripts/test_runner.py
@@ -351,9 +351,8 @@ class TestRunner(object):
else:
raise
- # Retry failed test cases. Currently, XCTests don't support retries
- # because there are no arguments to select specific tests to run.
- if self.retries and failed and not self.xctest_path:
+ # Retry failed test cases.
+ if self.retries and failed:
print '%s tests failed and will be retried.' % len(failed)
print
for i in xrange(self.retries):
« 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