test_switches.cc revision f2477e01787aa58f445919b809d89e252beef54f
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 3// found in the LICENSE file. 4 5#include "base/test/test_switches.h" 6 7// Time (in milliseconds) that the tests should wait before timing out. 8// TODO(phajdan.jr): Clean up the switch names. 9const char switches::kTestLargeTimeout[] = "test-large-timeout"; 10 11// Maximum number of tests to run in a single batch. 12const char switches::kTestLauncherBatchLimit[] = "test-launcher-batch-limit"; 13 14// Sets defaults desirable for the continuous integration bots, e.g. parallel 15// test execution and test retries. 16const char switches::kTestLauncherBotMode[] = 17 "test-launcher-bot-mode"; 18 19// Number of parallel test launcher jobs. 20const char switches::kTestLauncherJobs[] = "test-launcher-jobs"; 21 22// Path to test results file in our custom test launcher format. 23const char switches::kTestLauncherOutput[] = "test-launcher-output"; 24 25// Maximum number of times to retry a test after failure. 26const char switches::kTestLauncherRetryLimit[] = "test-launcher-retry-limit"; 27 28// Path to test results file with all the info from the test launcher. 29const char switches::kTestLauncherSummaryOutput[] = 30 "test-launcher-summary-output"; 31 32// Flag controlling when test stdio is displayed as part of the launcher's 33// standard output. 34const char switches::kTestLauncherPrintTestStdio[] = 35 "test-launcher-print-test-stdio"; 36 37// Index of the test shard to run, starting from 0 (first shard) to total shards 38// minus one (last shard). 39const char switches::kTestLauncherShardIndex[] = 40 "test-launcher-shard-index"; 41 42// Total number of shards. Must be the same for all shards. 43const char switches::kTestLauncherTotalShards[] = 44 "test-launcher-total-shards"; 45 46// Time (in milliseconds) that the tests should wait before timing out. 47const char switches::kTestLauncherTimeout[] = "test-launcher-timeout"; 48// TODO(phajdan.jr): Clean up the switch names. 49const char switches::kTestTinyTimeout[] = "test-tiny-timeout"; 50const char switches::kUiTestActionTimeout[] = "ui-test-action-timeout"; 51const char switches::kUiTestActionMaxTimeout[] = "ui-test-action-max-timeout"; 52