fix delete old EXPECT_DEATH
Some checks failed
rpcrypto-build / build (Release, hisiv510.toolchain.cmake) (push) Successful in 58s
rpcrypto-build / build (Debug, hisiv510.toolchain.cmake) (push) Successful in 1m2s
rpcrypto-build / build (Debug, himix200.toolchain.cmake) (push) Successful in 1m6s
linux-hisiv500-gcc / linux-gcc-hisiv500 (push) Successful in 1m11s
linux-mips64-gcc / linux-gcc-mips64el (push) Successful in 1m18s
linux-x64-gcc / linux-gcc (push) Failing after 1m17s
rpcrypto-build / build (Release, himix200.toolchain.cmake) (push) Successful in 1m6s
Some checks failed
rpcrypto-build / build (Release, hisiv510.toolchain.cmake) (push) Successful in 58s
rpcrypto-build / build (Debug, hisiv510.toolchain.cmake) (push) Successful in 1m2s
rpcrypto-build / build (Debug, himix200.toolchain.cmake) (push) Successful in 1m6s
linux-hisiv500-gcc / linux-gcc-hisiv500 (push) Successful in 1m11s
linux-mips64-gcc / linux-gcc-mips64el (push) Successful in 1m18s
linux-x64-gcc / linux-gcc (push) Failing after 1m17s
rpcrypto-build / build (Release, himix200.toolchain.cmake) (push) Successful in 1m6s
This commit is contained in:
parent
7fd4f98db8
commit
a340a0b497
@ -52,6 +52,5 @@ TEST(CoundownLatch, Assert)
|
||||
latch.CountDown();
|
||||
// NOTE https://github.com/google/googletest/blob/main/docs/advanced.md#death-tests-and-threads
|
||||
GTEST_FLAG_SET(death_test_style, "threadsafe");
|
||||
EXPECT_DEATH(latch.CountDown(), ".*failed.*");
|
||||
EXPECT_EXIT(latch.CountDown(), ::testing::KilledBySignal(SIGABRT), "");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user