Add a make command for checking expected failures
This commit is contained in:
parent
976479f824
commit
e9006272c2
|
@ -36,3 +36,6 @@ zcash_gtest_LDFLAGS = $(RELDFLAGS) $(AM_LDFLAGS) $(LIBTOOL_APP_LDFLAGS) -static
|
|||
|
||||
zcash-gtest_check: zcash-gtest FORCE
|
||||
./zcash-gtest
|
||||
|
||||
zcash-gtest-expected-failures: zcash-gtest FORCE
|
||||
./zcash-gtest --gtest_filter=*DISABLED_* --gtest_also_run_disabled_tests
|
||||
|
|
|
@ -3,3 +3,8 @@
|
|||
TEST(tautologies, seven_eq_seven) {
|
||||
ASSERT_EQ(7, 7);
|
||||
}
|
||||
|
||||
TEST(tautologies, DISABLED_ObviousFailure)
|
||||
{
|
||||
FAIL() << "This is expected";
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue