From aa14893960ff4a5e952c8761004a5bb14c8a19b2 Mon Sep 17 00:00:00 2001 From: Simon Josefsson Date: Sun, 7 May 2006 14:57:30 +0000 Subject: Run tests under valgrind. --- tests/Makefile.am | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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` -- cgit v1.2.1