]> granicus.if.org Git - strace/commit
tests: add valgrind support to "make check"
authorDmitry V. Levin <ldv@altlinux.org>
Tue, 6 Dec 2016 02:31:31 +0000 (02:31 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Tue, 6 Dec 2016 16:20:54 +0000 (16:20 +0000)
commit5c20f4aac4b3649a40c694645dcc6e5b6b4e003e
tree562c89699da826d576875be6ba75b0fe387e678e
parent427e7431ba83c350ff6a3d524d0c60d85d45bec9
tests: add valgrind support to "make check"

* m4/ax_valgrind_check.m4: Import from the autoconf-archive package.
* configure.ac: Invoke AX_VALGRIND_CHECK.
* valgrind.supp: Move to tests/strace.supp.
* Makefile.am (EXTRA_DIST): Remove valgrind.supp.
* tests/Makefile.am: Add @VALGRIND_CHECK_RULES@.
(VALGRIND_FLAGS, VALGRIND_SUPPRESSIONS_FILES): New variables.
(EXTRA_DIST): Add strace.supp.
* tests/init.sh: Add valgrind command prefix to $STRACE when appropriate.
Makefile.am
configure.ac
m4/ax_valgrind_check.m4 [new file with mode: 0644]
tests/Makefile.am
tests/init.sh
tests/strace.supp [moved from valgrind.supp with 100% similarity]