diff options
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/Makefile.am | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am index f53fd926..7c3bf837 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -710,9 +710,13 @@ EXTRA_DIST = run-arextract.sh run-arsymtest.sh run-ar.sh \ run-debuginfod-seekable.sh +if USE_HELGRIND +valgrind_cmd=valgrind -q --tool=helgrind --error-exitcode=1 --track-fds=yes +else if USE_VALGRIND valgrind_cmd=valgrind -q --leak-check=full --error-exitcode=1 --track-fds=yes endif +endif installed_TESTS_ENVIRONMENT = libdir='$(DESTDIR)$(libdir)'; \ |
