diff options
author | phajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-12-05 02:43:19 +0000 |
---|---|---|
committer | phajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-12-05 02:43:19 +0000 |
commit | 835977511db410c68f9fe3110b6627493d780982 (patch) | |
tree | 0488b92b5fc81b91da6c0b2bfa4038124b5691e1 /base/test | |
parent | b00456f98348323753363770346e15f6071552dd (diff) | |
download | chromium_src-835977511db410c68f9fe3110b6627493d780982.zip chromium_src-835977511db410c68f9fe3110b6627493d780982.tar.gz chromium_src-835977511db410c68f9fe3110b6627493d780982.tar.bz2 |
GTTF: Update --help for new test launcher.
Note that the switches are a little bit different between unit and browser
test launchers.
BUG=322266, 236893
R=sky@chromium.org
Review URL: https://codereview.chromium.org/103413003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@238867 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/test')
-rw-r--r-- | base/test/launcher/unit_test_launcher.cc | 39 |
1 files changed, 31 insertions, 8 deletions
diff --git a/base/test/launcher/unit_test_launcher.cc b/base/test/launcher/unit_test_launcher.cc index c9924ef..4cedcac 100644 --- a/base/test/launcher/unit_test_launcher.cc +++ b/base/test/launcher/unit_test_launcher.cc @@ -44,19 +44,42 @@ void PrintUsage() { "Runs tests using the gtest framework, each batch of tests being\n" "run in their own process. Supported command-line flags:\n" "\n" - " --single-process-tests\n" - " Runs the tests and the launcher in the same process. Useful\n" - " for debugging a specific test in a debugger.\n" - " --test-launcher-jobs=N\n" - " Sets the number of parallel test jobs to N.\n" - " --test-launcher-batch-limit=N\n" - " Sets the limit of test batch to run in a single process to N.\n" + " Common flags:\n" " --gtest_filter=...\n" " Runs a subset of tests (see --gtest_help for more info).\n" + "\n" " --help\n" " Shows this message.\n" + "\n" " --gtest_help\n" - " Shows the gtest help message.\n"); + " Shows the gtest help message.\n" + "\n" + " --test-launcher-jobs=N\n" + " Sets the number of parallel test jobs to N.\n" + "\n" + " --single-process-tests\n" + " Runs the tests and the launcher in the same process. Useful\n" + " for debugging a specific test in a debugger.\n" + "\n" + " Other flags:\n" + " --test-launcher-batch-limit=N\n" + " Sets the limit of test batch to run in a single process to N.\n" + "\n" + " --test-launcher-retry-limit=N\n" + " Sets the limit of test retries on failures to N.\n" + "\n" + " --test-launcher-summary-output=PATH\n" + " Saves a JSON machine-readable summary of the run.\n" + "\n" + " --test-launcher-print-test-stdio=auto|always|never\n" + " Controls when full test output is printed.\n" + " auto means to print it when the test failed.\n" + "\n" + " --test-launcher-total-shards=N\n" + " Sets the total number of shards to N.\n" + "\n" + " --test-launcher-shard-index=N\n" + " Sets the shard index to run to N (from 0 to TOTAL - 1).\n"); fflush(stdout); } |