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 |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
49 | 49 |
50 // Print a writable path and exit (for internal use). | 50 // Print a writable path and exit (for internal use). |
51 const char switches::kTestLauncherPrintWritablePath[] = | 51 const char switches::kTestLauncherPrintWritablePath[] = |
52 "test-launcher-print-writable-path"; | 52 "test-launcher-print-writable-path"; |
53 | 53 |
54 // Index of the test shard to run, starting from 0 (first shard) to total shards | 54 // Index of the test shard to run, starting from 0 (first shard) to total shards |
55 // minus one (last shard). | 55 // minus one (last shard). |
56 const char switches::kTestLauncherShardIndex[] = | 56 const char switches::kTestLauncherShardIndex[] = |
57 "test-launcher-shard-index"; | 57 "test-launcher-shard-index"; |
58 | 58 |
| 59 // Limit of test part results in the output. Default limit is 10. |
| 60 // Negative value will completely disable limit. |
| 61 const char switches::kTestLauncherTestPartResultsLimit[] = |
| 62 "test-launcher-test-part-results-limit"; |
| 63 |
59 // Total number of shards. Must be the same for all shards. | 64 // Total number of shards. Must be the same for all shards. |
60 const char switches::kTestLauncherTotalShards[] = | 65 const char switches::kTestLauncherTotalShards[] = |
61 "test-launcher-total-shards"; | 66 "test-launcher-total-shards"; |
62 | 67 |
63 // Time (in milliseconds) that the tests should wait before timing out. | 68 // Time (in milliseconds) that the tests should wait before timing out. |
64 const char switches::kTestLauncherTimeout[] = "test-launcher-timeout"; | 69 const char switches::kTestLauncherTimeout[] = "test-launcher-timeout"; |
65 | 70 |
66 // Path where to save a trace of test launcher's execution. | 71 // Path where to save a trace of test launcher's execution. |
67 const char switches::kTestLauncherTrace[] = "test-launcher-trace"; | 72 const char switches::kTestLauncherTrace[] = "test-launcher-trace"; |
68 | 73 |
69 // TODO(phajdan.jr): Clean up the switch names. | 74 // TODO(phajdan.jr): Clean up the switch names. |
70 const char switches::kTestTinyTimeout[] = "test-tiny-timeout"; | 75 const char switches::kTestTinyTimeout[] = "test-tiny-timeout"; |
71 const char switches::kUiTestActionTimeout[] = "ui-test-action-timeout"; | 76 const char switches::kUiTestActionTimeout[] = "ui-test-action-timeout"; |
72 const char switches::kUiTestActionMaxTimeout[] = "ui-test-action-max-timeout"; | 77 const char switches::kUiTestActionMaxTimeout[] = "ui-test-action-max-timeout"; |
OLD | NEW |