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