Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
yangql
googletest
Commits
9f893b99
Commit
9f893b99
authored
Apr 16, 2019
by
Abseil Team
Committed by
Alex Strelnikov
Apr 16, 2019
Browse files
Googletest export
[googletest] Fix death test condition. PiperOrigin-RevId: 243742424
parent
6d668180
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
googletest/src/gtest-death-test.cc
googletest/src/gtest-death-test.cc
+1
-1
No files found.
googletest/src/gtest-death-test.cc
View file @
9f893b99
...
@@ -994,7 +994,7 @@ DeathTest::TestRole FuchsiaDeathTest::AssumeRole() {
...
@@ -994,7 +994,7 @@ DeathTest::TestRole FuchsiaDeathTest::AssumeRole() {
zx_handle_t
child_pipe_handle
;
zx_handle_t
child_pipe_handle
;
int
child_pipe_fd
;
int
child_pipe_fd
;
status
=
fdio_pipe_half2
(
&
child_pipe_fd
,
&
child_pipe_handle
);
status
=
fdio_pipe_half2
(
&
child_pipe_fd
,
&
child_pipe_handle
);
GTEST_DEATH_TEST_CHECK_
(
status
!
=
ZX_OK
);
GTEST_DEATH_TEST_CHECK_
(
status
=
=
ZX_OK
);
set_read_fd
(
child_pipe_fd
);
set_read_fd
(
child_pipe_fd
);
// Set the pipe handle for the child.
// Set the pipe handle for the child.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment