mirror of
https://github.com/google/googletest.git
synced 2025-12-06 16:57:00 +08:00
Skip the predicate on SIGSEGV in death-test on Android builds with API level <= 23.
PiperOrigin-RevId: 786394374 Change-Id: I5188b55ae8ae6d3188e6492f3865b21ae6d2285e
This commit is contained in:
parent
7e17b15f15
commit
32f9f4c82a
@ -291,7 +291,7 @@ TEST(ExitStatusPredicateTest, KilledBySignal) {
|
||||
const int status_kill = KilledExitStatus(SIGKILL);
|
||||
const testing::KilledBySignal pred_segv(SIGSEGV);
|
||||
const testing::KilledBySignal pred_kill(SIGKILL);
|
||||
#if !(defined(GTEST_OS_LINUX_ANDROID) && __ANDROID_API__ <= 21)
|
||||
#if !(defined(GTEST_OS_LINUX_ANDROID) && __ANDROID_API__ <= 23)
|
||||
EXPECT_PRED1(pred_segv, status_segv);
|
||||
#endif
|
||||
EXPECT_PRED1(pred_kill, status_kill);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user