Home | History | Annotate | Download | only in dist

Lines Matching refs:valgrind

706 VALGRIND
1503 --enable-valgrind Whether to enable Valgrind on the unit tests
1505 --disable-valgrind-memcheck
1506 Whether to skip memcheck during the Valgrind tests
1507 --disable-valgrind-helgrind
1508 Whether to skip helgrind during the Valgrind tests
1509 --disable-valgrind-drd Whether to skip drd during the Valgrind tests
1510 --disable-valgrind-sgcheck
1511 Whether to skip sgcheck during the Valgrind tests
5711 # Check whether --enable-valgrind was given.
5721 # Check for Valgrind.
5722 # Extract the first word of "valgrind", so it can be a program name with args.
5723 set dummy valgrind; ac_word=$2
5729 if test -n "$VALGRIND"; then
5730 ac_cv_prog_VALGRIND="$VALGRIND" # Let the user override the test.
5739 ac_cv_prog_VALGRIND="valgrind"
5749 VALGRIND=$ac_cv_prog_VALGRIND
5750 if test -n "$VALGRIND"; then
5751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VALGRIND" >&5
5752 $as_echo "$VALGRIND" >&6; }
5759 if test "$VALGRIND" = ""; then :
5763 as_fn_error $? "Could not find valgrind; either install it or reconfigure with --disable-valgrind" "$LINENO" 5
5790 # Check for Valgrind tools we care about.
5793 # Check whether --enable-valgrind-memcheck was given.
5805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Valgrind tool memcheck" >&5
5806 $as_echo_n "checking for Valgrind tool memcheck... " >&6; }
5813 if `$VALGRIND --tool=memcheck --help >/dev/null 2>&1`; then :
5826 as_fn_error $? "Valgrind does not support memcheck; reconfigure with --disable-valgrind-memcheck" "$LINENO" 5
5849 # Check whether --enable-valgrind-helgrind was given.
5861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Valgrind tool helgrind" >&5
5862 $as_echo_n "checking for Valgrind tool helgrind... " >&6; }
5869 if `$VALGRIND --tool=helgrind --help >/dev/null 2>&1`; then :
5882 as_fn_error $? "Valgrind does not support helgrind; reconfigure with --disable-valgrind-helgrind" "$LINENO" 5
5905 # Check whether --enable-valgrind-drd was given.
5917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Valgrind tool drd" >&5
5918 $as_echo_n "checking for Valgrind tool drd... " >&6; }
5925 if `$VALGRIND --tool=drd --help >/dev/null 2>&1`; then :
5938 as_fn_error $? "Valgrind does not support drd; reconfigure with --disable-valgrind-drd" "$LINENO" 5
5961 # Check whether --enable-valgrind-sgcheck was given.
5973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Valgrind tool sgcheck" >&5
5974 $as_echo_n "checking for Valgrind tool sgcheck... " >&6; }
5981 if `$VALGRIND --tool=exp-sgcheck --help >/dev/null 2>&1`; then :
5994 as_fn_error $? "Valgrind does not support sgcheck; reconfigure with --disable-valgrind-sgcheck" "$LINENO" 5
6023 # Valgrind check
6026 # - VALGRIND_SUPPRESSIONS_FILES: Space-separated list of Valgrind suppressions
6028 # - VALGRIND_FLAGS: General flags to pass to all Valgrind tools.
6030 # - VALGRIND_$toolname_FLAGS: Flags to pass to Valgrind $toolname (one of:
6054 valgrind_v_use_0 = @echo " USE " $(patsubst check-valgrind-%,%,$''@):;
6064 check-valgrind:
6067 $(foreach tool, $(valgrind_enabled_tools), check-valgrind-$(tool))
6069 @echo "Need to use GNU make and reconfigure with --enable-valgrind"
6072 # Valgrind running
6075 env VALGRIND=$(VALGRIND) \
6081 $(VALGRIND) $(VALGRIND_SUPPRESSIONS) --error-exitcode=1 $(VALGRIND_FLAGS)
6084 check-valgrind-$(1):
6092 @echo "Need to reconfigure with --enable-valgrind-$(1)"
6094 @echo "Need to reconfigure with --enable-valgrind"
6101 A''M_DISTCHECK_CONFIGURE_FLAGS += --disable-valgrind
6106 .PHONY: check-valgrind $(add-prefix check-valgrind-,$(valgrind_tools))
6112 check-valgrind:
6113 @echo "Need to use GNU make and reconfigure with --enable-valgrind"'