Merge pull request #665 from vadz/check-failing
Add check-failing target to check that failing tests still do fail
This commit is contained in:
commit
e0728f582a
1 changed files with 7 additions and 0 deletions
|
|
@ -713,6 +713,13 @@ check-cpp: $(CPP_TEST_CASES:=.cpptest)
|
||||||
|
|
||||||
check-cpp11: $(CPP11_TEST_CASES:=.cpptest)
|
check-cpp11: $(CPP11_TEST_CASES:=.cpptest)
|
||||||
|
|
||||||
|
check-failing-test = \
|
||||||
|
$(MAKE) -s $1.$2 >/dev/null 2>/dev/null && echo "Failing test $t passed."
|
||||||
|
|
||||||
|
check-failing:
|
||||||
|
+-$(foreach t,$(FAILING_C_TESTS),$(call check-failing-test,$t,ctest);)
|
||||||
|
+-$(foreach t,$(FAILING_CPP_TESTS),$(call check-failing-test,$t,cpptest);)
|
||||||
|
+-$(foreach t,$(FAILING_MULTI_CPP_TESTS),$(call check-failing-test,$t,multicpptest);)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# partialcheck target runs SWIG only, ie no compilation or running of tests (for a subset of languages)
|
# partialcheck target runs SWIG only, ie no compilation or running of tests (for a subset of languages)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue