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

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

Issue 355014: Making the interactive ui tests run out of process (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 1 month 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/interactive_ui/interactive_ui_tests.gypi ('k') | no next file » | 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 30850)
+++ chrome/test/test_launcher/out_of_proc_test_runner.cc (working copy)
@@ -33,7 +33,12 @@
// Returns true if the test succeeded, false if it failed.
bool RunTest(const std::string& test_name) {
const CommandLine* cmd_line = CommandLine::ForCurrentProcess();
+#if defined(OS_WIN)
+ CommandLine new_cmd_line =
+ CommandLine::FromString(cmd_line->command_line_string());
+#else
CommandLine new_cmd_line(cmd_line->argv());
+#endif
// Always enable disabled tests. This method is not called with disabled
// tests unless this flag was specified to the browser test executable.
new_cmd_line.AppendSwitch("gtest_also_run_disabled_tests");
« no previous file with comments | « chrome/test/interactive_ui/interactive_ui_tests.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698