mirror of
https://github.com/catchorg/Catch2.git
synced 2024-11-22 13:26:10 +01:00
"Fix" build by annotating the new test as !shouldfail
The quick test under ctest checks only for no tests failing, not for the expected output.
This commit is contained in:
parent
ace70407a2
commit
a2e20b07f8
@ -400,8 +400,8 @@ static int f() {
|
|||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
TEST_CASE( "#835 -- errno should not be touched by Catch" ) {
|
TEST_CASE( "#835 -- errno should not be touched by Catch", "[!shouldfail]" ) {
|
||||||
errno = 1;
|
errno = 1;
|
||||||
CHECK(f() == 0);
|
CHECK(f() == 0);
|
||||||
REQUIRE(errno == 1); // Check that f() doesn't touch errno.
|
REQUIRE(errno == 1); // Check that f() doesn't touch errno.
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user