summaryrefslogtreecommitdiffstats
path: root/src/lib/asiolink/tests/Makefile.am
diff options
context:
space:
mode:
authorMukund Sivaraman <muks@isc.org>2012-06-12 12:59:15 +0200
committerMukund Sivaraman <muks@isc.org>2012-06-12 12:59:15 +0200
commit0bb55bab34119c6aadce1221f75ec148b28401a1 (patch)
treee4cae6db711e7e055092d4c811f93b8d047588c2 /src/lib/asiolink/tests/Makefile.am
parent[master] removed incorrect line continuation. (diff)
downloadkea-0bb55bab34119c6aadce1221f75ec148b28401a1.tar.xz
kea-0bb55bab34119c6aadce1221f75ec148b28401a1.zip
[2036] Integrate valgrind into our test suite
* Supply --enable-valgrind to configure to run tests (make check) under valgrind * Use two classes of suppressions files: + src/valgrind-suppressions for permanent suppressions that we never want to re-consider again + src/valgrind-suppressions.revisit for temporary suppressions (such as issues in testcases) that are not a priority to fix, but we'd like to fix them sometime
Diffstat (limited to 'src/lib/asiolink/tests/Makefile.am')
-rw-r--r--src/lib/asiolink/tests/Makefile.am3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/asiolink/tests/Makefile.am b/src/lib/asiolink/tests/Makefile.am
index eaa2173b69..39b098d331 100644
--- a/src/lib/asiolink/tests/Makefile.am
+++ b/src/lib/asiolink/tests/Makefile.am
@@ -18,6 +18,9 @@ AM_CXXFLAGS += $(WARNING_NO_MISSING_FIELD_INITIALIZERS_CFLAG)
CLEANFILES = *.gcno *.gcda
+TESTS_ENVIRONMENT = \
+ libtool --mode=execute $(VALGRIND_COMMAND)
+
TESTS =
if HAVE_GTEST
TESTS += run_unittests