| 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 // Behaves in a more friendly way to local debugging, e.g. serial execution, | 14 // Sets defaults desirable for the continuous integration bots, e.g. parallel |
| 15 // no redirection of stdio, etc. | 15 // test execution and test retries. |
| 16 const char switches::kTestLauncherDeveloperMode[] = | 16 const char switches::kTestLauncherBotMode[] = |
| 17 "test-launcher-developer-mode"; | 17 "test-launcher-bot-mode"; |
| 18 | 18 |
| 19 // Number of parallel test launcher jobs. | 19 // Number of parallel test launcher jobs. |
| 20 const char switches::kTestLauncherJobs[] = "test-launcher-jobs"; | 20 const char switches::kTestLauncherJobs[] = "test-launcher-jobs"; |
| 21 | 21 |
| 22 // Path to test results file in our custom test launcher format. | 22 // Path to test results file in our custom test launcher format. |
| 23 const char switches::kTestLauncherOutput[] = "test-launcher-output"; | 23 const char switches::kTestLauncherOutput[] = "test-launcher-output"; |
| 24 | 24 |
| 25 // Maximum number of times to retry a test after failure. | 25 // Maximum number of times to retry a test after failure. |
| 26 const char switches::kTestLauncherRetryLimit[] = "test-launcher-retry-limit"; | 26 const char switches::kTestLauncherRetryLimit[] = "test-launcher-retry-limit"; |
| 27 | 27 |
| (...skipping 14 matching lines...) Expand all Loading... |
| 42 // Total number of shards. Must be the same for all shards. | 42 // Total number of shards. Must be the same for all shards. |
| 43 const char switches::kTestLauncherTotalShards[] = | 43 const char switches::kTestLauncherTotalShards[] = |
| 44 "test-launcher-total-shards"; | 44 "test-launcher-total-shards"; |
| 45 | 45 |
| 46 // Time (in milliseconds) that the tests should wait before timing out. | 46 // Time (in milliseconds) that the tests should wait before timing out. |
| 47 const char switches::kTestLauncherTimeout[] = "test-launcher-timeout"; | 47 const char switches::kTestLauncherTimeout[] = "test-launcher-timeout"; |
| 48 // TODO(phajdan.jr): Clean up the switch names. | 48 // TODO(phajdan.jr): Clean up the switch names. |
| 49 const char switches::kTestTinyTimeout[] = "test-tiny-timeout"; | 49 const char switches::kTestTinyTimeout[] = "test-tiny-timeout"; |
| 50 const char switches::kUiTestActionTimeout[] = "ui-test-action-timeout"; | 50 const char switches::kUiTestActionTimeout[] = "ui-test-action-timeout"; |
| 51 const char switches::kUiTestActionMaxTimeout[] = "ui-test-action-max-timeout"; | 51 const char switches::kUiTestActionMaxTimeout[] = "ui-test-action-max-timeout"; |
| OLD | NEW |