Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
googletest
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chen Yisong
googletest
Commits
601a6815
Commit
601a6815
authored
Apr 06, 2021
by
Abseil Team
Committed by
Dino Radaković
Apr 07, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Googletest export
This is part of a soft transition over to having ZX_INFO_PROCESS populate a new struct. See fxbug.dev/30751 for more details. PiperOrigin-RevId: 367083068
parent
54689b19
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
gtest-death-test.cc
googletest/src/gtest-death-test.cc
+3
-3
No files found.
googletest/src/gtest-death-test.cc
View file @
601a6815
...
...
@@ -953,12 +953,12 @@ int FuchsiaDeathTest::Wait() {
ReadAndInterpretStatusByte
();
zx_info_process_t
buffer
;
zx_info_process_
v2_
t
buffer
;
status_zx
=
child_process_
.
get_info
(
ZX_INFO_PROCESS
,
&
buffer
,
sizeof
(
buffer
),
nullptr
,
nullptr
);
ZX_INFO_PROCESS
_V2
,
&
buffer
,
sizeof
(
buffer
),
nullptr
,
nullptr
);
GTEST_DEATH_TEST_CHECK_
(
status_zx
==
ZX_OK
);
GTEST_DEATH_TEST_CHECK_
(
buffer
.
exited
);
GTEST_DEATH_TEST_CHECK_
(
buffer
.
flags
&
ZX_INFO_PROCESS_FLAG_EXITED
);
set_status
(
buffer
.
return_code
);
return
status
();
}
...
...
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