summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorMark Wielaard <[email protected]>2012-12-03 17:01:09 +0100
committerMark Wielaard <[email protected]>2012-12-03 17:01:09 +0100
commit1d6a435f55ba6ee1568fb6fede6495e37c455cae (patch)
tree4e8bafff9b7a4170f1cbb96b63d6f69154e4e306 /tests
parentd5784afaf49cd59b9286e766cd9b1cf00cb43553 (diff)
Run valgrind tests with --run-libc-freeres=no.
By default valgrind tries to free up glibc memory at exit by running __libc_freeres (). Unfortunately some older glibc versions have bugs that either crash the test or make valgrind report errors. Since we aren't interested in tracking memory leaks in glibc anyway, just disable it. Signed-off-by: Mark Wielaard <[email protected]>
Diffstat (limited to 'tests')
-rw-r--r--tests/ChangeLog4
-rw-r--r--tests/Makefile.am2
2 files changed, 5 insertions, 1 deletions
diff --git a/tests/ChangeLog b/tests/ChangeLog
index 5b06b85f..0289148b 100644
--- a/tests/ChangeLog
+++ b/tests/ChangeLog
@@ -1,3 +1,7 @@
+2012-12-03 Mark Wielaard <[email protected]>
+
+ * Makefile.am (valgrind_cmd): Add --run-libc-freeres=no.
+
2012-11-29 Jan Kratochvil <[email protected]>
* run-addrname-test.sh: New test for PIE relocation.
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 6808bd13..8b7b751f 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -184,7 +184,7 @@ EXTRA_DIST = run-arextract.sh run-arsymtest.sh \
testfile70.core.bz2 testfile70.exec.bz2
if USE_VALGRIND
-valgrind_cmd="valgrind -q --trace-children=yes --error-exitcode=1"
+valgrind_cmd="valgrind -q --trace-children=yes --error-exitcode=1 --run-libc-freeres=no"
endif
installed_TESTS_ENVIRONMENT = libdir=$(DESTDIR)$(libdir) \