Do not ignore valgrind checks returning an error

Under "make check-valgrindk", when valgrind returns errors, these
errors are ignored by make.  It turns out it is the autoconf
VALGRIND_CHECK_RULES macro that does this.  Fixed thus.

	* autoconf-archive/ax_valgrind_check.m4 (check-valgrind): Don't
	ignore errors.

Signed-off-by: Dodji Seketeli <dodji@redhat.com>
This commit is contained in:
Dodji Seketeli 2017-02-24 14:55:01 +01:00
parent 8327d61b66
commit f21ef03925
1 changed files with 4 additions and 2 deletions

View File

@ -184,10 +184,12 @@ else
valgrind_lt =
endif
# Use recursive makes in order to ignore errors during check
# Initial comment: Use recursive makes in order to ignore errors during check
# Dodji Comment: We do not want to ignore errors during checks.
# We want Make to keep going as much as it can.
check-valgrind:
ifeq ($(VALGRIND_ENABLED),yes)
-$(A''M_V_at)$(foreach tool,$(valgrind_enabled_tools), \
$(A''M_V_at)$(foreach tool,$(valgrind_enabled_tools), \
$(MAKE) $(AM_MAKEFLAGS) -k check-valgrind-$(tool); \
)
else