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

Unified Diff: chrome/test/test_launcher/out_of_proc_test_runner.cc

Issue 657037: Add a metrics extensions API.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 10 months 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/test/data/extensions/api_test/metrics/test.js ('k') | chrome_frame/chrome_launcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/test_launcher/out_of_proc_test_runner.cc
===================================================================
--- chrome/test/test_launcher/out_of_proc_test_runner.cc (revision 40111)
+++ chrome/test/test_launcher/out_of_proc_test_runner.cc (working copy)
@@ -84,7 +84,7 @@
void PrintUsage() {
fprintf(stdout, "Runs tests using the gtest framework, each test being run in"
" its own process.\nAny gtest flags can be specified.\n"
- " --single-process\n Runs the tests and the launcher in the same "
+ " --single_process\n Runs the tests and the launcher in the same "
"process. Useful for debugging a\n specific test in a debugger\n "
"--help\n Shows this message.\n --gtest_help\n Shows the gtest "
"help message\n");
@@ -101,6 +101,12 @@
return 0;
}
+ if (command_line->HasSwitch(kSingleProcessFlag)) {
+ fprintf(stdout,
+ "\n Did you mean --%s instead? (note underscore)\n\n",
+ kSingleProcessAltFlag);
+ }
+
if (command_line->HasSwitch(kChildProcessFlag) ||
command_line->HasSwitch(kSingleProcessFlag) ||
command_line->HasSwitch(kSingleProcessAltFlag) ||
@@ -112,7 +118,7 @@
fprintf(stdout,
"Starting tests...\nIMPORTANT DEBUGGING NOTE: each test is run inside"
" its own process.\nFor debugging a test inside a debugger, use the "
- "--single-process and\n--gtest_filter=<your_test_name> flags.\n");
+ "--single_process and\n--gtest_filter=<your_test_name> flags.\n");
OutOfProcTestRunnerFactory test_runner_factory;
return tests::RunTests(test_runner_factory) ? 0 : 1;
}
« no previous file with comments | « chrome/test/data/extensions/api_test/metrics/test.js ('k') | chrome_frame/chrome_launcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698