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

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

Issue 886463003: iOS gtest launcher: retry tests in one big batch (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: C++11 Created 5 years, 11 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 | base/test/launcher/unit_test_launcher.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/test/launcher/test_launcher_ios.cc
diff --git a/base/test/launcher/test_launcher_ios.cc b/base/test/launcher/test_launcher_ios.cc
index 7028133b5247a27900658b409219219404ae2605..ecd31aedf5d00cb3754b0c1d4220b65e1dce3e51 100644
--- a/base/test/launcher/test_launcher_ios.cc
+++ b/base/test/launcher/test_launcher_ios.cc
@@ -129,6 +129,14 @@ class IOSUnitTestPlatformDelegate : public base::UnitTestPlatformDelegate {
return dir_exe_.AppendASCII("iossim").value();
}
+ void RelaunchTests(base::TestLauncher* test_launcher,
+ const std::vector<std::string>& test_names,
+ int launch_flags) override {
+ // Relaunch all tests in one big batch, since overhead of smaller batches
+ // is too big for serialized runs inside ios simulator.
+ RunUnitTestsBatch(test_launcher, this, test_names, launch_flags);
+ }
+
private:
// Directory containing test launcher's executable.
base::FilePath dir_exe_;
« no previous file with comments | « no previous file | base/test/launcher/unit_test_launcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698