Make check-failing-test make macro more hygienic
Minor fix to avoid using the variable defined outside of the macro in its expansion. See #665.
This commit is contained in:
parent
3efdbc8f2e
commit
b97612f1d6
1 changed files with 1 additions and 1 deletions
|
|
@ -714,7 +714,7 @@ check-cpp: $(CPP_TEST_CASES:=.cpptest)
|
||||||
check-cpp11: $(CPP11_TEST_CASES:=.cpptest)
|
check-cpp11: $(CPP11_TEST_CASES:=.cpptest)
|
||||||
|
|
||||||
check-failing-test = \
|
check-failing-test = \
|
||||||
$(MAKE) -s $1.$2 >/dev/null 2>/dev/null && echo "Failing test $t passed."
|
$(MAKE) -s $1.$2 >/dev/null 2>/dev/null && echo "Failing test $1 passed."
|
||||||
|
|
||||||
check-failing:
|
check-failing:
|
||||||
+-$(foreach t,$(FAILING_C_TESTS),$(call check-failing-test,$t,ctest);)
|
+-$(foreach t,$(FAILING_C_TESTS),$(call check-failing-test,$t,ctest);)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue