summaryrefslogtreecommitdiffstats
path: root/tests/Makefile.am
diff options
context:
space:
mode:
authorMark Wielaard <mjw@redhat.com>2015-12-02 17:27:18 +0100
committerMark Wielaard <mjw@redhat.com>2016-01-02 20:37:45 +0100
commita5a354b9d7d4ca8c912945dd708ab465aec67c7f (patch)
treee05653b125492a22cff831051afcabc825c190d5 /tests/Makefile.am
parent8bbfc552a062e47e307a897e49f2a4a25ba6291e (diff)
downloadandroid_external_elfutils-a5a354b9d7d4ca8c912945dd708ab465aec67c7f.tar.gz
android_external_elfutils-a5a354b9d7d4ca8c912945dd708ab465aec67c7f.tar.bz2
android_external_elfutils-a5a354b9d7d4ca8c912945dd708ab465aec67c7f.zip
tests: Use valgrind --leak-check=full.
When --enable-valgrind is given run the testsuite with --leak-check=full treating any memory leak as a failure. Also disable valgrind for those tests that trigger a valgrind bug. https://bugs.kde.org/show_bug.cgi?id=327427 Signed-off-by: Mark Wielaard <mjw@redhat.com>
Diffstat (limited to 'tests/Makefile.am')
-rw-r--r--tests/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 30cf137c..0077c0f5 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -307,7 +307,7 @@ EXTRA_DIST = run-arextract.sh run-arsymtest.sh \
run-lfs-symbols.sh lfs-symbols testfile-nolfs.bz2
if USE_VALGRIND
-valgrind_cmd='valgrind -q --error-exitcode=1 --run-libc-freeres=no'
+valgrind_cmd='valgrind -q --leak-check=full --error-exitcode=1'
endif