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

Unified Diff: base/test/test_launcher.h

Issue 17910005: Fix handling of BROWSER_WRAPPER in the test launcher. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixes Created 7 years, 6 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 | « no previous file | base/test/test_launcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/test/test_launcher.h
diff --git a/base/test/test_launcher.h b/base/test/test_launcher.h
index 603179c1f0035da0ac515a3ec900859f1a801aa3..30d2829c535fe85e31611d6ef7be199e9dad5cb2 100644
--- a/base/test/test_launcher.h
+++ b/base/test/test_launcher.h
@@ -72,7 +72,12 @@ class TestLauncherDelegate {
virtual ~TestLauncherDelegate();
};
+// Launches a child process (assumed to be gtest-based binary)
+// using |command_line|. If |wrapper| is not empty, it is prepended
+// to the final command line. If the child process is still running
+// after |timeout|, it is terminated and |*was_timeout| is set to true.
int LaunchChildGTestProcess(const CommandLine& command_line,
+ const std::string& wrapper,
base::TimeDelta timeout,
bool* was_timeout);
« no previous file with comments | « no previous file | base/test/test_launcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698