]> git.saurik.com Git - bison.git/blobdiff - tests/Makefile.am
tests: honor TESTSUITEFLAGS in all the check targets.
[bison.git] / tests / Makefile.am
index 0d70030fa69f059fda8ff58823831e96ca05c83a..7f5fd1675c60e05d46373bacad4e2666b7483d5f 100644 (file)
@@ -74,22 +74,23 @@ check_SCRIPTS = bison
 
 # Run the test suite on the *installed* tree.
 installcheck-local:
-       $(SHELL) $(TESTSUITE) AUTOTEST_PATH="$(bindir)" $(TESTSUITEFLAGS)
+       $(TESTSUITE) AUTOTEST_PATH="$(bindir)" $(TESTSUITEFLAGS)
 
 # Be real mean with it.
 .PHONY: maintainer-check-g++
 maintainer-check-g++: $(TESTSUITE)
-       $(TESTSUITE) --compile-c-with-cxx
+       $(TESTSUITE) $(TESTSUITEFLAGS) --compile-c-with-cxx
 
 .PHONY: maintainer-check-posix
 maintainer-check-posix: $(TESTSUITE)
-       $(TESTSUITE) POSIXLY_CORRECT=1 _POSIX2_VERSION=200112
+       $(TESTSUITE) $(TESTSUITEFLAGS) POSIXLY_CORRECT=1 _POSIX2_VERSION=200112
 
 .PHONY: maintainer-check-valgrind
 maintainer-check-valgrind: $(TESTSUITE)
-       test -z '$(VALGRIND)' || \
-          VALGRIND_OPTS='--leak-check=full --show-reachable=yes' \
-          $(TESTSUITE) PREBISON='$(VALGRIND) -q' PREPARSER='$(VALGRIND) -q'
+       test -z '$(VALGRIND)' ||                                        \
+         $(TESTSUITE) $(TESTSUITEFLAGS)                                \
+         PREBISON='$(VALGRIND) -q' PREPARSER='$(VALGRIND) -q'          \
+         VALGRIND_OPTS='--leak-check=full --show-reachable=yes'
 
 .PHONY: maintainer-check
 maintainer-check: maintainer-check-posix maintainer-check-valgrind maintainer-check-g++