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

Unified Diff: base/test/test_switches.cc

Issue 58413003: GTTF: Make it possible to pass sharding settings from command line. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 1 month 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/test_switches.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/test/test_switches.cc
diff --git a/base/test/test_switches.cc b/base/test/test_switches.cc
index 18b4881570e671ac6fe7d5223c0e6262022296e1..50b451323946d067089877d423cee9efb8f1ec90 100644
--- a/base/test/test_switches.cc
+++ b/base/test/test_switches.cc
@@ -26,6 +26,15 @@ const char switches::kTestLauncherSummaryOutput[] =
const char switches::kTestLauncherPrintTestStdio[] =
"test-launcher-print-test-stdio";
+// Index of the test shard to run, starting from 0 (first shard) to total shards
+// minus one (last shard).
+const char switches::kTestLauncherShardIndex[] =
+ "test-launcher-shard-index";
+
+// Total number of shards. Must be the same for all shards.
+const char switches::kTestLauncherTotalShards[] =
+ "test-launcher-total-shards";
+
// Time (in milliseconds) that the tests should wait before timing out.
const char switches::kTestLauncherTimeout[] = "test-launcher-timeout";
// TODO(phajdan.jr): Clean up the switch names.
« no previous file with comments | « base/test/test_switches.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698