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

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

Issue 469533002: Change gtest launcher to run in parallel and retry failures by default. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: enable parallel jobs by default as well Created 6 years, 4 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 | Annotate | Revision Log
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 // 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 // TODO(dpranke): Remove this once the bots no longer pass this.
16 const char switches::kTestLauncherBotMode[] = 17 const char switches::kTestLauncherBotMode[] =
17 "test-launcher-bot-mode"; 18 "test-launcher-bot-mode";
18 19
19 // Makes it possible to debug the launcher itself. By default the launcher 20 // Makes it possible to debug the launcher itself. By default the launcher
20 // automatically switches to single process mode when it detects presence 21 // automatically switches to single process mode when it detects presence
21 // of debugger. 22 // of debugger.
22 const char switches::kTestLauncherDebugLauncher[] = 23 const char switches::kTestLauncherDebugLauncher[] =
23 "test-launcher-debug-launcher"; 24 "test-launcher-debug-launcher";
24 25
25 // Path to file containing test filter (one pattern per line). 26 // Path to file containing test filter (one pattern per line).
(...skipping 25 matching lines...) Expand all
51 // Total number of shards. Must be the same for all shards. 52 // Total number of shards. Must be the same for all shards.
52 const char switches::kTestLauncherTotalShards[] = 53 const char switches::kTestLauncherTotalShards[] =
53 "test-launcher-total-shards"; 54 "test-launcher-total-shards";
54 55
55 // Time (in milliseconds) that the tests should wait before timing out. 56 // Time (in milliseconds) that the tests should wait before timing out.
56 const char switches::kTestLauncherTimeout[] = "test-launcher-timeout"; 57 const char switches::kTestLauncherTimeout[] = "test-launcher-timeout";
57 // TODO(phajdan.jr): Clean up the switch names. 58 // TODO(phajdan.jr): Clean up the switch names.
58 const char switches::kTestTinyTimeout[] = "test-tiny-timeout"; 59 const char switches::kTestTinyTimeout[] = "test-tiny-timeout";
59 const char switches::kUiTestActionTimeout[] = "ui-test-action-timeout"; 60 const char switches::kUiTestActionTimeout[] = "ui-test-action-timeout";
60 const char switches::kUiTestActionMaxTimeout[] = "ui-test-action-max-timeout"; 61 const char switches::kUiTestActionMaxTimeout[] = "ui-test-action-max-timeout";
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698