]> git.saurik.com Git - bison.git/blobdiff - tests/Makefile.am
(struct yyltype): Define members even when not
[bison.git] / tests / Makefile.am
index d41846ac2d56585175156895e70a15d318ad6935..85c6e9108187b63b71d4bedf3ab87586a5e42208 100644 (file)
@@ -73,6 +73,18 @@ installcheck-local:
        $(SHELL) $(TESTSUITE) AUTOTEST_PATH=$(exec_prefix)/bin
 
 # Be real mean with it.
        $(SHELL) $(TESTSUITE) AUTOTEST_PATH=$(exec_prefix)/bin
 
 # Be real mean with it.
+.PHONY: maintainer-check-g++
+maintainer-check-g++: $(TESTSUITE)
+       if test -n "$(VALGRIND)"; then          \
+          $(TESTSUITE) CC='$(GXX)';            \
+       else                                    \
+         true;                                 \
+       fi
+
+.PHONY: maintainer-check-posix
+maintainer-check-posix: $(TESTSUITE)
+       $(TESTSUITE) POSIXLY_CORRECT=1
+
 .PHONY: maintainer-check-valgrind
 maintainer-check-valgrind: $(TESTSUITE)
        if test -n "$(VALGRIND)"; then                                      \
 .PHONY: maintainer-check-valgrind
 maintainer-check-valgrind: $(TESTSUITE)
        if test -n "$(VALGRIND)"; then                                      \
@@ -81,13 +93,5 @@ maintainer-check-valgrind: $(TESTSUITE)
          true;                                                             \
        fi
 
          true;                                                             \
        fi
 
-.PHONY: maintainer-check-g++
-maintainer-check-g++: $(TESTSUITE)
-       if test -n "$(VALGRIND)"; then          \
-          $(TESTSUITE) CC='$(GXX)'             \
-       else                                    \
-         true;                                 \
-       fi
-
 .PHONY: maintainer-check
 .PHONY: maintainer-check
-maintainer-check: maintainer-check-valgrind maintainer-check-g++
+maintainer-check: maintainer-check-posix maintainer-check-valgrind maintainer-check-g++