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. |