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 // Force running all requested tests even when too many errors occur. | 21 // Force running all requested tests and retries even if too many test errors |
| 22 // occur. |
22 const char switches::kTestLauncherForceRunBrokenTests[] = | 23 const char switches::kTestLauncherForceRunBrokenTests[] = |
23 "test-launcher-force-run-broken-tests"; | 24 "test-launcher-force-run-broken-tests"; |
24 | 25 |
25 // Path to file containing test filter (one pattern per line). | 26 // Path to file containing test filter (one pattern per line). |
26 const char switches::kTestLauncherFilterFile[] = "test-launcher-filter-file"; | 27 const char switches::kTestLauncherFilterFile[] = "test-launcher-filter-file"; |
27 | 28 |
28 // Number of parallel test launcher jobs. | 29 // Number of parallel test launcher jobs. |
29 const char switches::kTestLauncherJobs[] = "test-launcher-jobs"; | 30 const char switches::kTestLauncherJobs[] = "test-launcher-jobs"; |
30 | 31 |
31 // Path to list of compiled in tests. | 32 // Path to list of compiled in tests. |
(...skipping 26 matching lines...) Expand all Loading... |
58 // Total number of shards. Must be the same for all shards. | 59 // Total number of shards. Must be the same for all shards. |
59 const char switches::kTestLauncherTotalShards[] = | 60 const char switches::kTestLauncherTotalShards[] = |
60 "test-launcher-total-shards"; | 61 "test-launcher-total-shards"; |
61 | 62 |
62 // Time (in milliseconds) that the tests should wait before timing out. | 63 // Time (in milliseconds) that the tests should wait before timing out. |
63 const char switches::kTestLauncherTimeout[] = "test-launcher-timeout"; | 64 const char switches::kTestLauncherTimeout[] = "test-launcher-timeout"; |
64 // TODO(phajdan.jr): Clean up the switch names. | 65 // TODO(phajdan.jr): Clean up the switch names. |
65 const char switches::kTestTinyTimeout[] = "test-tiny-timeout"; | 66 const char switches::kTestTinyTimeout[] = "test-tiny-timeout"; |
66 const char switches::kUiTestActionTimeout[] = "ui-test-action-timeout"; | 67 const char switches::kUiTestActionTimeout[] = "ui-test-action-timeout"; |
67 const char switches::kUiTestActionMaxTimeout[] = "ui-test-action-max-timeout"; | 68 const char switches::kUiTestActionMaxTimeout[] = "ui-test-action-max-timeout"; |
OLD | NEW |