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

Unified Diff: base/test/launcher/test_launcher.h

Issue 1154313003: Non-SFI mode: Implement test launcher for nacl_helper_nonsfi_unittests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Small clean up for code review. Created 5 years, 7 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
Index: base/test/launcher/test_launcher.h
diff --git a/base/test/launcher/test_launcher.h b/base/test/launcher/test_launcher.h
index 544df63c6390e2435b7fa011310451cf884dd901..734c5b631d0020446f20029d73ea46d671a24c97 100644
--- a/base/test/launcher/test_launcher.h
+++ b/base/test/launcher/test_launcher.h
@@ -115,6 +115,12 @@ class TestLauncher {
// Called when a test has finished running.
void OnTestFinished(const TestResult& result);
+ // If enabled, the launcher will not remove the --gtest_output flag passed
+ // to the child processes.
+ void set_use_child_gtest_output(bool value) {
Paweł Hajdan Jr. 2015/05/29 13:48:20 This looks like a layering violation. Why is it ne
hidehiko 2015/05/29 14:00:47 Because nacl_helper_nonsfi_unittests_main still us
Paweł Hajdan Jr. 2015/06/01 10:56:59 Is it possible to extract a smaller build target c
hidehiko 2015/06/02 08:12:17 Ok, thank you for suggestion. Then, how about the
+ use_child_gtest_output_ = value;
+ }
+
private:
bool Init() WARN_UNUSED_RESULT;
@@ -149,6 +155,8 @@ class TestLauncher {
TestLauncherDelegate* launcher_delegate_;
+ bool use_child_gtest_output_;
+
// Support for outer sharding, just like gtest does.
int32 total_shards_; // Total number of outer shards, at least one.
int32 shard_index_; // Index of shard the launcher is to run.
« no previous file with comments | « no previous file | base/test/launcher/test_launcher.cc » ('j') | components/nacl/loader/nonsfi/test_launcher_nacl_nonsfi.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698