Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(251)

Side by Side Diff: base/test/test_switches.cc

Issue 2846673004: Set limit for number of failed EXPECTs per test in test launcher output. (Closed)
Patch Set: Fix missed constant usage. Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « base/test/test_switches.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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";
OLDNEW
« no previous file with comments | « base/test/test_switches.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698