]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
Improve valgrind stuff.
authorSimon Josefsson <simon@josefsson.org>
Thu, 11 May 2006 19:22:51 +0000 (19:22 +0000)
committerSimon Josefsson <simon@josefsson.org>
Thu, 11 May 2006 19:22:51 +0000 (19:22 +0000)
tests/Makefile.am

index b9f0fe62c70f838f87780839e7a888dd0b9259f6..6360fc8148239b7fec42b43f3d5cbc424b635a24 100644 (file)
@@ -42,10 +42,10 @@ TESTS = pkcs12_neon pkcs8 $(ctests)
 check_PROGRAMS = $(ctests)
 dist_check_SCRIPTS = pkcs12_neon pkcs8
 
-VALGRIND=valgrind --leak-check=full --leak-resolution=high \
+VALGRIND=valgrind --tool=memcheck --leak-check=full --leak-resolution=high \
        --show-reachable=yes --num-callers=50 \
        --suppressions=gnutls.supp
 TESTS_ENVIRONMENT = \
        PKCS12FILE=$(srcdir)/client.p12 \
        PKCS12PASSWORD=foobar \
-       `if type valgrind > /dev/null 2>&1; then echo $(VALGRIND); else echo $$SHELL -c; fi`
+       `if $(VALGRIND) /bin/true > /dev/null 2>&1; then echo $(VALGRIND); else echo $$SHELL -c; fi`