Lines Matching refs:valgrind
19 # the value of the --enable-valgrind option, which defaults to being
21 # Valgrind tools can be disabled via --disable-valgrind-<tool>, the
30 # https://www.gnu.org/software/gnulib/manual/html_node/Running-self_002dtests-under-valgrind.ht…
45 # This results in a "check-valgrind" rule being added to any Makefile.am
47 # configured with --enable-valgrind). Running `make check-valgrind` in
51 # commandline with --enable-valgrind-sgcheck. The results for each check
55 # Alternatively, a "check-valgrind-$TOOL" rule will be added, for $TOOL in
84 dnl Check for --enable-valgrind
85 AC_ARG_ENABLE([valgrind],
86 … [AS_HELP_STRING([--enable-valgrind], [Whether to enable Valgrind on the unit tests])],
91 AC_CHECK_PROG([VALGRIND],[valgrind],[valgrind])
94 … AC_MSG_ERROR([Could not find valgrind; either install it or reconfigure with --disable-valgrind])
109 AC_ARG_ENABLE([valgrind-]vgtool,
111 [AS_HELP_STRING([--enable-valgrind-]vgtool, [Whether to use ]vgtool[ during the Valgrind tests])],d…
112 [AS_HELP_STRING([--disable-valgrind-]vgtool, [Whether to skip ]vgtool[ during the Valgrind tests])]…
131 AC_MSG_ERROR([Valgrind does not support ]vgtool[; reconfigure with --disable-valgrind-]vgtool)
179 valgrind_v_use_0 = @echo " USE " $(patsubst check-valgrind-%,%,$''@):;
189 check-valgrind:
192 $(MAKE) $(AM_MAKEFLAGS) -k check-valgrind-$(tool); \
195 @echo "Need to reconfigure with --enable-valgrind"
210 check-valgrind-$(1): $$(BUILT_SOURCES)
218 @echo "Need to reconfigure with --enable-valgrind-$(1)"
220 @echo "Need to reconfigure with --enable-valgrind"
227 A''M_DISTCHECK_CONFIGURE_FLAGS += --disable-valgrind
232 .PHONY: check-valgrind $(add-prefix check-valgrind-,$(valgrind_tools))