summaryrefslogtreecommitdiffstats
path: root/src/lib/statistics
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/statistics
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/statistics')
-rw-r--r--src/lib/statistics/tests/Makefile.am3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/statistics/tests/Makefile.am b/src/lib/statistics/tests/Makefile.am
index d66acdf857..c0f0295473 100644
--- a/src/lib/statistics/tests/Makefile.am
+++ b/src/lib/statistics/tests/Makefile.am
@@ -15,6 +15,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