From: Simon Josefsson Date: Sun, 7 May 2006 14:57:30 +0000 (+0000) Subject: Run tests under valgrind. X-Git-Tag: gnutls_1_2_11~7 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=aa14893960ff4a5e952c8761004a5bb14c8a19b2;p=thirdparty%2Fgnutls.git Run tests under valgrind. --- diff --git a/tests/Makefile.am b/tests/Makefile.am index d6ff519bcb..0c99c9bfaa 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -42,6 +42,10 @@ TESTS = pkcs12_neon pkcs8 $(ctests) check_PROGRAMS = $(ctests) dist_check_SCRIPTS = pkcs12_neon pkcs8 +VALGRIND=valgrind --leak-check=full --leak-resolution=high \ + --show-reachable=yes --num-callers=50 \ + --suppressions=shishi.supp TESTS_ENVIRONMENT = \ PKCS12FILE=$(srcdir)/client.p12 \ - PKCS12PASSWORD=foobar + PKCS12PASSWORD=foobar \ + `if type valgrind > /dev/null 2>&1; then echo $(VALGRIND); else echo $$SHELL -c; fi`