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

Unified Diff: base/test/launcher/test_launcher.cc

Issue 1325463002: Don't skip retries when force-running broken tests. (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 | « base/test/launcher/test_launcher.h ('k') | base/test/test_switches.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/test/launcher/test_launcher.cc
diff --git a/base/test/launcher/test_launcher.cc b/base/test/launcher/test_launcher.cc
index 8e7b7dbe21116dccb18d690224f3a0ab64ec5508..6468ea9a9dd9c66d84da71fc013ce751c2e5fe87 100644
--- a/base/test/launcher/test_launcher.cc
+++ b/base/test/launcher/test_launcher.cc
@@ -644,7 +644,7 @@ void TestLauncher::OnTestFinished(const TestResult& result) {
return;
}
- if (tests_to_retry_.size() >= broken_threshold) {
+ if (!force_run_broken_tests_ && tests_to_retry_.size() >= broken_threshold) {
fprintf(stdout,
"Too many failing tests (%" PRIuS "), skipping retries.\n",
tests_to_retry_.size());
« no previous file with comments | « base/test/launcher/test_launcher.h ('k') | base/test/test_switches.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698