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