summaryrefslogtreecommitdiffstats
path: root/googletest/src/gtest-death-test.cc
diff options
context:
space:
mode:
authorFabrice de Gans-Riberi <steelskin@gmail.com>2018-05-31 18:21:01 (GMT)
committerFabrice de Gans-Riberi <steelskin@gmail.com>2018-05-31 18:21:01 (GMT)
commit93e267a999a3528b21ce0e51412e889f87288f24 (patch)
tree3a9c24a309393fb597a94f7f2b0942f41293a774 /googletest/src/gtest-death-test.cc
parent0a6edf3ca757a742f2adeb4623f625c6118e0fd7 (diff)
downloadgoogletest-93e267a999a3528b21ce0e51412e889f87288f24.zip
googletest-93e267a999a3528b21ce0e51412e889f87288f24.tar.gz
googletest-93e267a999a3528b21ce0e51412e889f87288f24.tar.bz2
Clean up
Diffstat (limited to 'googletest/src/gtest-death-test.cc')
-rw-r--r--googletest/src/gtest-death-test.cc6
1 files changed, 1 insertions, 5 deletions
diff --git a/googletest/src/gtest-death-test.cc b/googletest/src/gtest-death-test.cc
index 03adcce..e5b4e09 100644
--- a/googletest/src/gtest-death-test.cc
+++ b/googletest/src/gtest-death-test.cc
@@ -945,13 +945,9 @@ DeathTest::TestRole FuchsiaDeathTest::AssumeRole() {
};
// Spawn the child process.
- char err_msg[255];
status = fdio_spawn_etc(ZX_HANDLE_INVALID, FDIO_SPAWN_CLONE_ALL,
args.Argv()[0], args.Argv(), nullptr, 1,
- &add_handle_action, &child_process_, err_msg);
- if (status != ZX_OK) {
- GTEST_LOG_(ERROR) << err_msg;
- }
+ &add_handle_action, &child_process_, nullptr);
GTEST_DEATH_TEST_CHECK_(status == ZX_OK);
set_spawned(true);