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

Unified Diff: chrome/test/browser/browser_test_launcher_out_of_proc.cc

Issue 155112: Browser tests now support the run disabled tests flag (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 5 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/browser/browser_test_launcher_in_proc.cc ('k') | chrome/test/browser/browser_test_runner.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/browser/browser_test_launcher_out_of_proc.cc
===================================================================
--- chrome/test/browser/browser_test_launcher_out_of_proc.cc (revision 19954)
+++ chrome/test/browser/browser_test_launcher_out_of_proc.cc (working copy)
@@ -35,6 +35,9 @@
bool RunTest(const std::string& test_name) {
const CommandLine* cmd_line = CommandLine::ForCurrentProcess();
CommandLine new_cmd_line(cmd_line->argv());
+ // 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");
new_cmd_line.AppendSwitchWithValue(L"gtest_filter", ASCIIToWide(test_name));
new_cmd_line.AppendSwitch(kChildProcessFlag);
Property changes on: chrome\test\browser\browser_test_launcher_out_of_proc.cc
___________________________________________________________________
Added: svn:eol-style
+ LF
« no previous file with comments | « chrome/test/browser/browser_test_launcher_in_proc.cc ('k') | chrome/test/browser/browser_test_runner.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698