From 9cf89e4b43e5e018bb3103be1873a3993769ce4a Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Wed, 20 Mar 2013 20:58:49 +0100 Subject: Add a bit of infrastructure for running valgrind * make memcheck: Runs basic memory checking * make leakcheck: Also runs leak checking --- tools/Makefile.am | 3 ++- tools/tests/Makefile.am | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) (limited to 'tools') diff --git a/tools/Makefile.am b/tools/Makefile.am index 4977221..aaf7e99 100644 --- a/tools/Makefile.am +++ b/tools/Makefile.am @@ -1,4 +1,5 @@ -NULL = + +include $(top_srcdir)/build/Makefile.decl SUBDIRS = . tests diff --git a/tools/tests/Makefile.am b/tools/tests/Makefile.am index a74c981..feffcc9 100644 --- a/tools/tests/Makefile.am +++ b/tools/tests/Makefile.am @@ -1,8 +1,6 @@ include $(top_srcdir)/build/Makefile.tests -NULL = - EXTRA_DIST = files if WITH_ASN1 @@ -10,6 +8,8 @@ if WITH_ASN1 COMMON = $(top_srcdir)/common TOOLS = $(top_srcdir)/tools +TEST_RUNNER = libtool --mode=execute + INCLUDES = \ -I$(top_srcdir) \ -I$(top_srcdir)/p11-kit \ -- cgit v1.1