mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-12 13:53:03 +00:00
* tests/Makefile.am (maintainer-check-g++): Remove bogus
test for valgrind; valgrind is independent of g++. (maintainer-check-posix): Add _POSIX2_VERSION=200112, to check for compatibility with POSIX 1003.1-2001 (if running coreutils). * tests/cxx-type.at (_AT_TEST_GLR_CXXTYPES): Port to stricter C++. Use a destructor, so that we can expand the stack. Change YYSTYPE to char * so that we can free it. Cast result of malloc.
This commit is contained in:
@@ -79,15 +79,11 @@ installcheck-local:
|
||||
# Be real mean with it.
|
||||
.PHONY: maintainer-check-g++
|
||||
maintainer-check-g++: $(TESTSUITE)
|
||||
if test -n "$(VALGRIND)"; then \
|
||||
$(TESTSUITE) CC='$(CXX)'; \
|
||||
else \
|
||||
true; \
|
||||
fi
|
||||
$(TESTSUITE) CC='$(CXX)'
|
||||
|
||||
.PHONY: maintainer-check-posix
|
||||
maintainer-check-posix: $(TESTSUITE)
|
||||
$(TESTSUITE) POSIXLY_CORRECT=1
|
||||
$(TESTSUITE) POSIXLY_CORRECT=1 _POSIX2_VERSION=200112
|
||||
|
||||
.PHONY: maintainer-check-valgrind
|
||||
maintainer-check-valgrind: $(TESTSUITE)
|
||||
|
||||
Reference in New Issue
Block a user