mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-09 04:13:03 +00:00
tests: fix maintainer-check-valgrind make recipe
* tests/local.mk (maintainer-check-valgrind): Run the with Valgrind when it's available, not the converse.
This commit is contained in:
@@ -112,7 +112,7 @@ maintainer-check-posix: $(RUN_TESTSUITE_deps)
|
||||
VALGRIND_OPTS = --leak-check=full --show-reachable=yes --gen-suppressions=all \
|
||||
$(VALGRIND_OPTS_SUPPRESSION)
|
||||
maintainer-check-valgrind: $(RUN_TESTSUITE_deps)
|
||||
test 'x$(VALGRIND)' != x || \
|
||||
test 'x$(VALGRIND)' == x || \
|
||||
$(RUN_TESTSUITE) \
|
||||
PREBISON='$(VALGRIND) -q' PREPARSER='$(VALGRIND) -q' \
|
||||
VALGRIND_OPTS="$(VALGRIND_OPTS)"
|
||||
|
||||
Reference in New Issue
Block a user