summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorStef Walter <stefw@gnome.org>2013-03-20 20:58:49 +0100
committerStef Walter <stefw@gnome.org>2013-03-20 22:22:18 +0100
commit9cf89e4b43e5e018bb3103be1873a3993769ce4a (patch)
tree9a69429d69f4d22d49fcfe51f0d495ec8ab9ba97 /tools
parent0ecabc858dd6c1c2055f53202a01251e2ad7d2c2 (diff)
Add a bit of infrastructure for running valgrind
* make memcheck: Runs basic memory checking * make leakcheck: Also runs leak checking
Diffstat (limited to 'tools')
-rw-r--r--tools/Makefile.am3
-rw-r--r--tools/tests/Makefile.am4
2 files changed, 4 insertions, 3 deletions
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 \