Skip to content

Commit 32f9f4c

Browse files
Abseil Teamcopybara-github
authored andcommitted
Skip the predicate on SIGSEGV in death-test on Android builds with API level <= 23.
PiperOrigin-RevId: 786394374 Change-Id: I5188b55ae8ae6d3188e6492f3865b21ae6d2285e
1 parent 7e17b15 commit 32f9f4c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

googletest/test/googletest-death-test-test.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@ TEST(ExitStatusPredicateTest, KilledBySignal) {
291291
const int status_kill = KilledExitStatus(SIGKILL);
292292
const testing::KilledBySignal pred_segv(SIGSEGV);
293293
const testing::KilledBySignal pred_kill(SIGKILL);
294-
#if !(defined(GTEST_OS_LINUX_ANDROID) && __ANDROID_API__ <= 21)
294+
#if !(defined(GTEST_OS_LINUX_ANDROID) && __ANDROID_API__ <= 23)
295295
EXPECT_PRED1(pred_segv, status_segv);
296296
#endif
297297
EXPECT_PRED1(pred_kill, status_kill);

0 commit comments

Comments
 (0)