]> git.ipfire.org Git - thirdparty/elfutils.git/commitdiff
tests/Makefile.am: Add --track-fds=yes to valgrind_cmd users/amerey/try-track-fds
authorAaron Merey <amerey@redhat.com>
Fri, 31 Jan 2025 01:16:34 +0000 (20:16 -0500)
committerAaron Merey <amerey@redhat.com>
Tue, 4 Feb 2025 20:28:42 +0000 (15:28 -0500)
`valgrind --track-fds=yes` will report errors for file descriptor leaks
and attempts at closing invalid file descriptors.

Signed-off-by: Aaron Merey <amerey@redhat.com>
tests/Makefile.am

index 8f08779825bb4f76bb454fa96eb01c7ecb10a072..625a014fec2b7d5d30bb5ad3f783f612d9f77d35 100644 (file)
@@ -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