]> git.ipfire.org Git - thirdparty/elfutils.git/commitdiff
tests/Makefile.am: Add --track-fds=yes to valgrind_cmd
authorAaron Merey <amerey@redhat.com>
Fri, 31 Jan 2025 01:16:34 +0000 (20:16 -0500)
committerAaron Merey <amerey@redhat.com>
Fri, 7 Feb 2025 22:26:04 +0000 (17:26 -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..ec6cc9011a63194d5c0097ecd5cccf444a532977 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