]> git.saurik.com Git - bison.git/commitdiff
tests: fix dependencies
authorAkim Demaille <akim@lrde.epita.fr>
Tue, 17 Jul 2012 13:19:37 +0000 (15:19 +0200)
committerAkim Demaille <akim@lrde.epita.fr>
Wed, 18 Jul 2012 07:17:31 +0000 (09:17 +0200)
* tests/Makefile.am: we need atconfig and atlocal to be up to date
when calling testsuite.

tests/Makefile.am

index f94eaa13470fd555849b2de0057c7b09ccd38c68..b6848d77b12b02c5052e731be94929267f96a841 100644 (file)
@@ -73,20 +73,20 @@ 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_PREBISON)' PREPARSER='$(VALGRIND) -q'    \