]> git.saurik.com Git - bison.git/blobdiff - tests/Makefile.am
tests: don't expect $EGREP to support -w
[bison.git] / tests / Makefile.am
index 7f5fd1675c60e05d46373bacad4e2666b7483d5f..b6848d77b12b02c5052e731be94929267f96a841 100644 (file)
@@ -73,23 +73,23 @@ check-local: atconfig atlocal $(TESTSUITE)
 check_SCRIPTS = bison
 
 # Run the test suite on the *installed* tree.
-installcheck-local:
+installcheck-local: atconfig atlocal $(TESTSUITE)
        $(TESTSUITE) AUTOTEST_PATH="$(bindir)" $(TESTSUITEFLAGS)
 
 # Be real mean with it.
 .PHONY: maintainer-check-g++
-maintainer-check-g++: $(TESTSUITE)
+maintainer-check-g++: atconfig atlocal $(TESTSUITE)
        $(TESTSUITE) $(TESTSUITEFLAGS) --compile-c-with-cxx
 
 .PHONY: maintainer-check-posix
-maintainer-check-posix: $(TESTSUITE)
+maintainer-check-posix: atconfig atlocal $(TESTSUITE)
        $(TESTSUITE) $(TESTSUITEFLAGS) POSIXLY_CORRECT=1 _POSIX2_VERSION=200112
 
 .PHONY: maintainer-check-valgrind
-maintainer-check-valgrind: $(TESTSUITE)
+maintainer-check-valgrind: atconfig atlocal $(TESTSUITE)
        test -z '$(VALGRIND)' ||                                        \
          $(TESTSUITE) $(TESTSUITEFLAGS)                                \
-         PREBISON='$(VALGRIND) -q' PREPARSER='$(VALGRIND) -q'          \
+         PREBISON='$(VALGRIND_PREBISON)' PREPARSER='$(VALGRIND) -q'    \
          VALGRIND_OPTS='--leak-check=full --show-reachable=yes'
 
 .PHONY: maintainer-check