Add check-failing target to check that failing tests still do fail
This is useful to remove the tests which pass after the latest fixes from the list of the failing tests.
This commit is contained in:
parent
3aafd9373f
commit
9a7114cc38
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-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
|
||||
|
||||
# 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