| Index: base/test/launcher/unit_test_launcher.cc
|
| diff --git a/base/test/launcher/unit_test_launcher.cc b/base/test/launcher/unit_test_launcher.cc
|
| index c9924efa582ec388a7325d6db59d1134e3302b87..4cedcacd731f6cb8000c3d30bc4ca1b1ecf1fcf0 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);
|
| }
|
|
|
|
|