googletest icon indicating copy to clipboard operation
googletest copied to clipboard

feat: add EXPECT_NO_COREFILE_DEATH

Open zhouronghua opened this issue 4 months ago • 1 comments

If we use expect_death, we really know it will coredump or raise signal, EXPECT_NO_COREFILE_DEATH is a helper for user to use expect_death but do not genreate core file. EXPECT_NO_COREFILE_DEATH depends on ::testing::ExceptionTest, who will set rlimit to suppress core file generated.

printf in main is not good idea for all test.

zhouronghua avatar Oct 21 '24 06:10 zhouronghua