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

Unified Diff: gpu/angle_test_batcher.cc

Issue 1201583002: Speed up angle_end2end_tests by running tests in larger batches. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove isolate change. Created 5 years, 6 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 | « gpu/angle_test_batcher.h ('k') | gpu/angle_unittest_main.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « gpu/angle_test_batcher.h ('k') | gpu/angle_unittest_main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698