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 |
11 // test execution and test retries. | 11 // test execution and test retries. |
12 const char switches::kTestLauncherBotMode[] = | 12 const char switches::kTestLauncherBotMode[] = |
13 "test-launcher-bot-mode"; | 13 "test-launcher-bot-mode"; |
14 | 14 |
15 // Makes it possible to debug the launcher itself. By default the launcher | 15 // Makes it possible to debug the launcher itself. By default the launcher |
16 // automatically switches to single process mode when it detects presence | 16 // automatically switches to single process mode when it detects presence |
17 // of debugger. | 17 // of debugger. |
18 const char switches::kTestLauncherDebugLauncher[] = | 18 const char switches::kTestLauncherDebugLauncher[] = |
19 "test-launcher-debug-launcher"; | 19 "test-launcher-debug-launcher"; |
20 | 20 |
21 // Path to file containing test filter (one pattern per line). | 21 // Path to file containing test filter (one pattern per line). |
22 const char switches::kTestLauncherFilterFile[] = "test-launcher-filter-file"; | 22 const char switches::kTestLauncherFilterFile[] = "test-launcher-filter-file"; |
23 | 23 |
24 // Number of parallel test launcher jobs. | 24 // Number of parallel test launcher jobs. |
25 const char switches::kTestLauncherJobs[] = "test-launcher-jobs"; | 25 const char switches::kTestLauncherJobs[] = "test-launcher-jobs"; |
26 | 26 |
| 27 // Path to list of compiled in tests. |
| 28 const char switches::kTestLauncherListTests[] = "test-launcher-list-tests"; |
| 29 |
27 // Path to test results file in our custom test launcher format. | 30 // Path to test results file in our custom test launcher format. |
28 const char switches::kTestLauncherOutput[] = "test-launcher-output"; | 31 const char switches::kTestLauncherOutput[] = "test-launcher-output"; |
29 | 32 |
30 // Maximum number of times to retry a test after failure. | 33 // Maximum number of times to retry a test after failure. |
31 const char switches::kTestLauncherRetryLimit[] = "test-launcher-retry-limit"; | 34 const char switches::kTestLauncherRetryLimit[] = "test-launcher-retry-limit"; |
32 | 35 |
33 // 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. |
34 const char switches::kTestLauncherSummaryOutput[] = | 37 const char switches::kTestLauncherSummaryOutput[] = |
35 "test-launcher-summary-output"; | 38 "test-launcher-summary-output"; |
36 | 39 |
(...skipping 10 matching lines...) Expand all Loading... |
47 // Total number of shards. Must be the same for all shards. | 50 // Total number of shards. Must be the same for all shards. |
48 const char switches::kTestLauncherTotalShards[] = | 51 const char switches::kTestLauncherTotalShards[] = |
49 "test-launcher-total-shards"; | 52 "test-launcher-total-shards"; |
50 | 53 |
51 // Time (in milliseconds) that the tests should wait before timing out. | 54 // Time (in milliseconds) that the tests should wait before timing out. |
52 const char switches::kTestLauncherTimeout[] = "test-launcher-timeout"; | 55 const char switches::kTestLauncherTimeout[] = "test-launcher-timeout"; |
53 // TODO(phajdan.jr): Clean up the switch names. | 56 // TODO(phajdan.jr): Clean up the switch names. |
54 const char switches::kTestTinyTimeout[] = "test-tiny-timeout"; | 57 const char switches::kTestTinyTimeout[] = "test-tiny-timeout"; |
55 const char switches::kUiTestActionTimeout[] = "ui-test-action-timeout"; | 58 const char switches::kUiTestActionTimeout[] = "ui-test-action-timeout"; |
56 const char switches::kUiTestActionMaxTimeout[] = "ui-test-action-max-timeout"; | 59 const char switches::kUiTestActionMaxTimeout[] = "ui-test-action-max-timeout"; |
OLD | NEW |