* 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:
Paul Eggert
2005-07-14 17:27:01 +00:00
parent 31d7addbf5
commit a22ff96f32
3 changed files with 16 additions and 12 deletions

View File

@@ -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)