OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "base/test/test_switches.h" | 5 #include "base/test/test_switches.h" |
6 | 6 |
7 // Maximum number of tests to run in a single batch. | 7 // Maximum number of tests to run in a single batch. |
8 const char switches::kTestLauncherBatchLimit[] = "test-launcher-batch-limit"; | 8 const char switches::kTestLauncherBatchLimit[] = "test-launcher-batch-limit"; |
9 | 9 |
10 // Sets defaults desirable for the continuous integration bots, e.g. parallel | 10 // Sets defaults desirable for the continuous integration bots, e.g. parallel |
(...skipping 24 matching lines...) Expand all Loading... |
35 | 35 |
36 // Path to test results file with all the info from the test launcher. | 36 // Path to test results file with all the info from the test launcher. |
37 const char switches::kTestLauncherSummaryOutput[] = | 37 const char switches::kTestLauncherSummaryOutput[] = |
38 "test-launcher-summary-output"; | 38 "test-launcher-summary-output"; |
39 | 39 |
40 // Flag controlling when test stdio is displayed as part of the launcher's | 40 // Flag controlling when test stdio is displayed as part of the launcher's |
41 // standard output. | 41 // standard output. |
42 const char switches::kTestLauncherPrintTestStdio[] = | 42 const char switches::kTestLauncherPrintTestStdio[] = |
43 "test-launcher-print-test-stdio"; | 43 "test-launcher-print-test-stdio"; |
44 | 44 |
| 45 // Print a writable path and exit (for internal use). |
| 46 const char switches::kTestLauncherPrintWritablePath[] = |
| 47 "test-launcher-print-writable-path"; |
| 48 |
45 // Index of the test shard to run, starting from 0 (first shard) to total shards | 49 // Index of the test shard to run, starting from 0 (first shard) to total shards |
46 // minus one (last shard). | 50 // minus one (last shard). |
47 const char switches::kTestLauncherShardIndex[] = | 51 const char switches::kTestLauncherShardIndex[] = |
48 "test-launcher-shard-index"; | 52 "test-launcher-shard-index"; |
49 | 53 |
50 // Total number of shards. Must be the same for all shards. | 54 // Total number of shards. Must be the same for all shards. |
51 const char switches::kTestLauncherTotalShards[] = | 55 const char switches::kTestLauncherTotalShards[] = |
52 "test-launcher-total-shards"; | 56 "test-launcher-total-shards"; |
53 | 57 |
54 // Time (in milliseconds) that the tests should wait before timing out. | 58 // Time (in milliseconds) that the tests should wait before timing out. |
55 const char switches::kTestLauncherTimeout[] = "test-launcher-timeout"; | 59 const char switches::kTestLauncherTimeout[] = "test-launcher-timeout"; |
56 // TODO(phajdan.jr): Clean up the switch names. | 60 // TODO(phajdan.jr): Clean up the switch names. |
57 const char switches::kTestTinyTimeout[] = "test-tiny-timeout"; | 61 const char switches::kTestTinyTimeout[] = "test-tiny-timeout"; |
58 const char switches::kUiTestActionTimeout[] = "ui-test-action-timeout"; | 62 const char switches::kUiTestActionTimeout[] = "ui-test-action-timeout"; |
59 const char switches::kUiTestActionMaxTimeout[] = "ui-test-action-max-timeout"; | 63 const char switches::kUiTestActionMaxTimeout[] = "ui-test-action-max-timeout"; |
OLD | NEW |