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

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

Issue 895853003: Update from https://crrev.com/314320 (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: 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
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_;

Powered by Google App Engine
This is Rietveld 408576698