googletest icon indicating copy to clipboard operation
googletest copied to clipboard

feat: add EXPECT_NO_COREFILE_DEATH

Open zhouronghua opened this issue 1 year ago • 1 comments
trafficstars

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

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

google-cla[bot] avatar Oct 21 '24 06:10 google-cla[bot]