Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
yangql
googletest
Commits
1e86cae1
Commit
1e86cae1
authored
Jul 27, 2015
by
kosak
Browse files
Inject GTEST_EXTRA_DEATH_TEST_CHILD_SETUP
parent
c33ce7c1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
src/gtest.cc
src/gtest.cc
+5
-0
No files found.
src/gtest.cc
View file @
1e86cae1
...
@@ -4574,6 +4574,11 @@ bool UnitTestImpl::RunAllTests() {
...
@@ -4574,6 +4574,11 @@ bool UnitTestImpl::RunAllTests() {
#if GTEST_HAS_DEATH_TEST
#if GTEST_HAS_DEATH_TEST
in_subprocess_for_death_test
=
(
internal_run_death_test_flag_
.
get
()
!=
NULL
);
in_subprocess_for_death_test
=
(
internal_run_death_test_flag_
.
get
()
!=
NULL
);
# if defined(GTEST_EXTRA_DEATH_TEST_CHILD_SETUP_)
if
(
in_subprocess_for_death_test
)
{
GTEST_EXTRA_DEATH_TEST_CHILD_SETUP_
();
}
# endif // defined(GTEST_EXTRA_DEATH_TEST_CHILD_SETUP_)
#endif // GTEST_HAS_DEATH_TEST
#endif // GTEST_HAS_DEATH_TEST
const
bool
should_shard
=
ShouldShard
(
kTestTotalShards
,
kTestShardIndex
,
const
bool
should_shard
=
ShouldShard
(
kTestTotalShards
,
kTestShardIndex
,
...
...
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