test_switches.cc 2.5 KB

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