]> git.saurik.com Git - bison.git/blobdiff - tests/local.mk
c++: style: use "unsigned", not "unsigned int"
[bison.git] / tests / local.mk
index 8311f2665ae6a24f1fbed9db0283ef750f6fc114..0a3a46b9d4f455aaf896ef90016080635d7f2381 100644 (file)
@@ -1,6 +1,6 @@
 ## Makefile for Bison testsuite.
 
-# Copyright (C) 2000-2014 Free Software Foundation, Inc.
+# Copyright (C) 2000-2015 Free Software Foundation, Inc.
 #
 # This program is free software: you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -108,11 +108,13 @@ maintainer-check-posix: $(RUN_TESTSUITE_deps)
        $(RUN_TESTSUITE) POSIXLY_CORRECT=1 _POSIX2_VERSION=200112
 
 .PHONY: maintainer-check-valgrind
+VALGRIND_OPTS = --leak-check=full --show-reachable=yes --gen-suppressions=all \
+  $(VALGRIND_OPTS_SUPPRESSION)
 maintainer-check-valgrind: $(RUN_TESTSUITE_deps)
-       test -z '$(VALGRIND)' ||                                        \
+       test 'x$(VALGRIND)' != x ||                                     \
          $(RUN_TESTSUITE)                                              \
-           PREBISON='$(VALGRIND_PREBISON)' PREPARSER='$(VALGRIND) -q'  \
-           VALGRIND_OPTS='--leak-check=full --show-reachable=yes'
+           PREBISON='$(VALGRIND) -q' PREPARSER='$(VALGRIND) -q'        \
+           VALGRIND_OPTS="$(VALGRIND_OPTS)"
 
 .PHONY: maintainer-check
 maintainer-check: maintainer-check-posix maintainer-check-valgrind maintainer-check-g++