From cf31256f9a4fc906b3e195703e4c98aa2411635a Mon Sep 17 00:00:00 2001 From: Akim Demaille Date: Thu, 6 Sep 2018 14:15:40 +0200 Subject: [PATCH] tests: fix maintainer-check-valgrind make recipe * tests/local.mk (maintainer-check-valgrind): Run the with Valgrind when it's available, not the converse. --- tests/local.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/local.mk b/tests/local.mk index 46f63b65..da674df7 100644 --- a/tests/local.mk +++ b/tests/local.mk @@ -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)"