diff options
-rw-r--r-- | .gitignore | 69 | ||||
-rw-r--r-- | gl/m4/valgrind-tests.m4 | 2 | ||||
-rw-r--r-- | gl/override/m4/valgrind-tests.m4.diff | 11 | ||||
-rw-r--r-- | tests/Makefile.am | 2 | ||||
-rw-r--r-- | tests/safe-renegotiation/Makefile.am | 2 | ||||
-rw-r--r-- | tests/safe-renegotiation/suppressions.valgrind | 0 | ||||
-rw-r--r-- | tests/suppressions.valgrind (renamed from tests/libgcrypt.supp) | 0 |
7 files changed, 83 insertions, 3 deletions
diff --git a/.gitignore b/.gitignore index d286453d44..eefc468fbc 100644 --- a/.gitignore +++ b/.gitignore @@ -490,3 +490,72 @@ tests/x509paths/ tests/x509self tests/x509sign-verify tests/x509signself +doc/examples/ex-cert-select-pkcs11 +.dirstamp +gl/signal.h +gl/tests/inttypes.h +gl/tests/test-accept +gl/tests/test-bind +gl/tests/test-close +gl/tests/test-connect +gl/tests/test-dup2 +gl/tests/test-fcntl-h +gl/tests/test-fdopen +gl/tests/test-fgetc +gl/tests/test-float +gl/tests/test-fputc +gl/tests/test-fread +gl/tests/test-fseek +gl/tests/test-fseeko3 +gl/tests/test-fseeko4 +gl/tests/test-fstat +gl/tests/test-ftell +gl/tests/test-ftell3 +gl/tests/test-ftello4 +gl/tests/test-ftruncate +gl/tests/test-fwrite +gl/tests/test-getcwd-lgpl +gl/tests/test-ignore-value +gl/tests/test-intprops +gl/tests/test-inttypes +gl/tests/test-ioctl +gl/tests/test-listen +gl/tests/test-lock +gl/tests/test-lstat +gl/tests/test-open +gl/tests/test-pathmax +gl/tests/test-perror2 +gl/tests/test-pipe +gl/tests/test-recv +gl/tests/test-send +gl/tests/test-setsockopt +gl/tests/test-shutdown +gl/tests/test-signal-h +gl/tests/test-stat +gl/tests/test-strerror_r +gl/tests/test-symlink +gl/tests/test-sys_types +gl/tests/test-sys_uio +gl/tests/test-thread_create +gl/tests/test-thread_self +lib/gl/tests/inttypes.h +lib/gl/tests/test-fcntl-h +lib/gl/tests/test-fdopen +lib/gl/tests/test-fgetc +lib/gl/tests/test-float +lib/gl/tests/test-fputc +lib/gl/tests/test-fread +lib/gl/tests/test-fseek +lib/gl/tests/test-fseeko3 +lib/gl/tests/test-fseeko4 +lib/gl/tests/test-fstat +lib/gl/tests/test-ftell +lib/gl/tests/test-ftell3 +lib/gl/tests/test-ftello4 +lib/gl/tests/test-fwrite +lib/gl/tests/test-intprops +lib/gl/tests/test-inttypes +lib/gl/tests/test-sys_types +lib/gl/tests/test-sys_uio +tests/rng-fork +tests/x509cert diff --git a/gl/m4/valgrind-tests.m4 b/gl/m4/valgrind-tests.m4 index ab9e25a841..9c4d0290c6 100644 --- a/gl/m4/valgrind-tests.m4 +++ b/gl/m4/valgrind-tests.m4 @@ -23,7 +23,7 @@ AC_DEFUN([gl_VALGRIND_TESTS], if test -n "$VALGRIND" && $VALGRIND -q true > /dev/null 2>&1; then opt_valgrind_tests=yes - VALGRIND="$VALGRIND -q --error-exitcode=1 --leak-check=full" + VALGRIND="$VALGRIND -q --error-exitcode=1 --suppressions=suppressions.valgrind" else opt_valgrind_tests=no VALGRIND= diff --git a/gl/override/m4/valgrind-tests.m4.diff b/gl/override/m4/valgrind-tests.m4.diff new file mode 100644 index 0000000000..dac9a243f6 --- /dev/null +++ b/gl/override/m4/valgrind-tests.m4.diff @@ -0,0 +1,11 @@ +--- valgrind-tests.m4.orig 2011-05-21 09:37:17.415555504 +0200 ++++ valgrind-tests.m4 2011-05-21 09:37:34.600259721 +0200 +@@ -23,7 +23,7 @@ + + if test -n "$VALGRIND" && $VALGRIND -q true > /dev/null 2>&1; then + opt_valgrind_tests=yes +- VALGRIND="$VALGRIND -q --error-exitcode=1 --leak-check=full" ++ VALGRIND="$VALGRIND -q --error-exitcode=1 --suppressions=suppressions.valgrind" + else + opt_valgrind_tests=no + VALGRIND= diff --git a/tests/Makefile.am b/tests/Makefile.am index dfebc06650..53012fac70 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -31,7 +31,7 @@ if WANT_TEST_SUITE SUBDIRS += suite endif -EXTRA_DIST = libgcrypt.supp eagain-common.h +EXTRA_DIST = suppressions.valgrind eagain-common.h AM_CFLAGS = $(WARN_CFLAGS) $(WERROR_CFLAGS) AM_CPPFLAGS = \ diff --git a/tests/safe-renegotiation/Makefile.am b/tests/safe-renegotiation/Makefile.am index 8b0c65833a..17d4684df7 100644 --- a/tests/safe-renegotiation/Makefile.am +++ b/tests/safe-renegotiation/Makefile.am @@ -32,4 +32,4 @@ check_PROGRAMS = $(ctests) TESTS = $(ctests) TESTS_ENVIRONMENT = $(VALGRIND) -EXTRA_DIST = README +EXTRA_DIST = README suppressions.valgrind diff --git a/tests/safe-renegotiation/suppressions.valgrind b/tests/safe-renegotiation/suppressions.valgrind new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/tests/safe-renegotiation/suppressions.valgrind diff --git a/tests/libgcrypt.supp b/tests/suppressions.valgrind index 3766b25702..3766b25702 100644 --- a/tests/libgcrypt.supp +++ b/tests/suppressions.valgrind |