aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordimitry <dimitry@google.com>2018-09-25 12:20:48 +0200
committerdimitry <dimitry@google.com>2018-09-25 12:23:33 +0200
commit21557cdd2eaef8d22db3d63bccbdddc946b06ad6 (patch)
treeb13129c4397ee83fe4e69dbf1de6d8011395fed4
parent30b17e32f0b403a97cef7c4d1fcab471fa316340 (diff)
Ignore output to stderr while enumerating tests
Bug: http://b/114304197 Test: adb unroot && run CtsBionicTestCases Change-Id: I75880934fa1c25be6c76e866f97efc14d5ccd0a1
-rw-r--r--tests/gtest_main.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/gtest_main.cpp b/tests/gtest_main.cpp
index ba29825f8..2bbd58290 100644
--- a/tests/gtest_main.cpp
+++ b/tests/gtest_main.cpp
@@ -309,7 +309,6 @@ static bool EnumerateTests(int argc, char** argv, std::vector<TestCase>& testcas
posix_spawn_file_actions_init(&fa);
posix_spawn_file_actions_addclose(&fa, read_fd);
posix_spawn_file_actions_adddup2(&fa, write_fd, 1);
- posix_spawn_file_actions_adddup2(&fa, write_fd, 2);
posix_spawn_file_actions_addclose(&fa, write_fd);
pid_t pid;