https://sourceware.org/bugzilla/show_bug.cgi?id=32598
Bug ID: 32598
Summary: Use --track-fds=yes when running tests under valgrind
Product: elfutils
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: general
Assignee: unassigned at sourceware dot org
Reporter: mark at klomp dot org
CC: elfutils-devel at sourceware dot org
Target Milestone: ---
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 8f08779825bb..ec6cc9011a63 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -692,7 +692,7 @@ EXTRA_DIST = run-arextract.sh run-arsymtest.sh run-ar.sh \
if USE_VALGRIND
-valgrind_cmd=valgrind -q --leak-check=full --error-exitcode=1
+valgrind_cmd=valgrind -q --leak-check=full --error-exitcode=1 --track-fds=yes
endif
Various tests currently fail with --enable-valgrind with the above
--track-fds=yes addition. It seems most are testcase issues (the test opens an
ELF file to examine and never closes it). But it would have caught the
following issue:
https://inbox.sourceware.org/elfutils-devel/[email protected]/T/#t
--
You are receiving this mail because:
You are on the CC list for the bug.