summaryrefslogtreecommitdiff
path: root/m4/ax_valgrind_check.m4
Commit message (Collapse)AuthorAgeFilesLines
* Update copyright headersEugene Syromyatnikov2017-09-051-0/+1
| | | | | | Headers updated automatically with maint/update_copyright_headers.sh -c
* m4: remove equal sign from define directive in ax_valgrind_check.m4Eugene Syromyatnikov2017-07-221-1/+1
| | | | | | | | | | | | | Support for providing equal sign in define directives has been added only in GNU Make 3.82 [1] and it provides the same semantics (variables should be recursively expanded) as when it is omitted at all, so let's remove it in order to preserve compatibility with older GNU Make versions (like the one used on Travis). [1] https://git.savannah.gnu.org/cgit/make.git/tree/ChangeLog?h=3.82#n766 * m4/ax_valgrind_check.m4 <define valgrind_tool_rule>: Remove equal sign.
* build: add check-valgrind-* to recursive targetsDmitry V. Levin2017-07-201-0/+2
| | | | | | | | | | | | | As make -j$N check-valgrind cannot parallelize properly, add recursive targets for each of valgrind checks. This way one can run for t in $valgrind_enabled_tools; do make -k check-valgrind-$n || rc=$? done in $top_builddir. * configure.ac (AM_EXTRA_RECURSIVE_TARGETS): Remove. * m4/ax_valgrind_check.m4 (AX_VALGRIND_CHECK): Add check-valgrind and check-valgrind-* to AM_EXTRA_RECURSIVE_TARGETS.
* Update AX_VALGRIND_CHECKDmitry V. Levin2017-07-191-5/+4
| | | | | * m4/ax_valgrind_check.m4: Update to serial 15. In particular, this version does not eat check-valgrind errors.
* m4: fix check-valgrind-* rules generated by AX_VALGRIND_CHECKDmitry V. Levin2016-12-181-2/+3
| | | | | | * m4/ax_valgrind_check.m4 (check-valgrind-$(1)): Depend on $(BUILT_SOURCES), honor $(AM_MAKEFLAGS), build check-am instead of check-TESTS.
* tests: add valgrind support to "make check"Dmitry V. Levin2016-12-061-0/+236
* 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.