catch3
Progmasoft Catch3: an independently maintained C++17 test framework with a parallel runner, property checks, snapshots and structured results.
Clonegit clone https://git.progmasoft.com/catch3
"Fix" build by annotating the new test as !shouldfail
- Commit
a2e20b07f863a6a4fd15a17cfbfc7f8dfcc7f7bf- Author
- Martin Hořeňovský ·
- Parents
ace70407a260
Changes
projects/SelfTest/MiscTests.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/projects/SelfTest/MiscTests.cpp b/projects/SelfTest/MiscTests.cpp index e98b2630..02099a71 100644 --- a/projects/SelfTest/MiscTests.cpp +++ b/projects/SelfTest/MiscTests.cpp @@ -400,8 +400,8 @@ static int f() { return 1; } -TEST_CASE( "#835 -- errno should not be touched by Catch" ) { - errno = 1; - CHECK(f() == 0); - REQUIRE(errno == 1); // Check that f() doesn't touch errno. +TEST_CASE( "#835 -- errno should not be touched by Catch", "[!shouldfail]" ) { + errno = 1; + CHECK(f() == 0); + REQUIRE(errno == 1); // Check that f() doesn't touch errno. }