googletest icon indicating copy to clipboard operation
googletest copied to clipboard

[#4294] --gtest_break_on_failure conflicts with EXPECT_NONFATAL_FAILURE.

Open avrdan opened this issue 2 years ago • 1 comments

Changes the behavior so that the flags --gtest_break_on_failure and --gtest_throw_on_failure no longer throw or raise signals for non-fatal failure, thus allowing execution to continue.

avrdan avatar Oct 31 '23 13:10 avrdan

Note that you will almost certainly need to new tests for this (in addition to making sure all the existing ones pass, even disabled ones) to test all the edge cases you can, because I don't think we have tests for all of them here.

higher-performance avatar Nov 03 '23 18:11 higher-performance