Index: gpu/angle_test_batcher.cc |
diff --git a/gpu/angle_test_batcher.cc b/gpu/angle_test_batcher.cc |
new file mode 100644 |
index 0000000000000000000000000000000000000000..78041c1fec2db4e9b92c5975bf2e14c76f9e7141 |
--- /dev/null |
+++ b/gpu/angle_test_batcher.cc |
@@ -0,0 +1,19 @@ |
+// Copyright 2015 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#include "angle_test_batcher.h" |
+ |
+#include "base/command_line.h" |
+#include "base/test/test_switches.h" |
+ |
+namespace gpu { |
+ |
+void BatchANGLETests() { |
+ base::CommandLine* cmd_line = base::CommandLine::ForCurrentProcess(); |
+ if (!cmd_line->HasSwitch(switches::kTestLauncherBatchLimit)) { |
+ cmd_line->AppendSwitchASCII(switches::kTestLauncherBatchLimit, "1000"); |
+ } |
+} |
+ |
+} // namespace gpu |