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

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

Issue 101223009: GTTF: Make new test launcher automatically use single process mode when debugged. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years 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
« 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 // 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
20 // automatically switches to single process mode when it detects presence
21 // of debugger.
22 const char switches::kTestLauncherDebugLauncher[] =
23 "test-launcher-debug-launcher";
24
19 // Number of parallel test launcher jobs. 25 // Number of parallel test launcher jobs.
20 const char switches::kTestLauncherJobs[] = "test-launcher-jobs"; 26 const char switches::kTestLauncherJobs[] = "test-launcher-jobs";
21 27
22 // Path to test results file in our custom test launcher format. 28 // Path to test results file in our custom test launcher format.
23 const char switches::kTestLauncherOutput[] = "test-launcher-output"; 29 const char switches::kTestLauncherOutput[] = "test-launcher-output";
24 30
25 // Maximum number of times to retry a test after failure. 31 // Maximum number of times to retry a test after failure.
26 const char switches::kTestLauncherRetryLimit[] = "test-launcher-retry-limit"; 32 const char switches::kTestLauncherRetryLimit[] = "test-launcher-retry-limit";
27 33
28 // Path to test results file with all the info from the test launcher. 34 // Path to test results file with all the info from the test launcher.
(...skipping 13 matching lines...) Expand all
42 // Total number of shards. Must be the same for all shards. 48 // Total number of shards. Must be the same for all shards.
43 const char switches::kTestLauncherTotalShards[] = 49 const char switches::kTestLauncherTotalShards[] =
44 "test-launcher-total-shards"; 50 "test-launcher-total-shards";
45 51
46 // Time (in milliseconds) that the tests should wait before timing out. 52 // Time (in milliseconds) that the tests should wait before timing out.
47 const char switches::kTestLauncherTimeout[] = "test-launcher-timeout"; 53 const char switches::kTestLauncherTimeout[] = "test-launcher-timeout";
48 // TODO(phajdan.jr): Clean up the switch names. 54 // TODO(phajdan.jr): Clean up the switch names.
49 const char switches::kTestTinyTimeout[] = "test-tiny-timeout"; 55 const char switches::kTestTinyTimeout[] = "test-tiny-timeout";
50 const char switches::kUiTestActionTimeout[] = "ui-test-action-timeout"; 56 const char switches::kUiTestActionTimeout[] = "ui-test-action-timeout";
51 const char switches::kUiTestActionMaxTimeout[] = "ui-test-action-max-timeout"; 57 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