Commit f1360904 authored by Swann Perarnau's avatar Swann Perarnau
Browse files

Merge branch 'ax_valgrind' into 'staging'

Fix dependency for check-valgrind and check-valgrind-$(tool).

Force ax_valgrind generated rules to depend on all-am in the source directory to make sure that check-valgrind by itself will build the library before checking.

See merge request !126
parents d0663441 5d811bff
Pipeline #9866 failed with stages
in 31 seconds
......@@ -207,7 +207,7 @@ VALGRIND_LOG_COMPILER = \
$(VALGRIND) $(VALGRIND_SUPPRESSIONS) --error-exitcode=1 $(VALGRIND_FLAGS)
define valgrind_tool_rule
check-valgrind-$(1)-am:
check-valgrind-$(1)-am: all-am
ifeq ($$(VALGRIND_ENABLED)-$$(ENABLE_VALGRIND_$(1)),yes-yes)
ifneq ($$(TESTS),)
$$(valgrind_v_use)$$(MAKE) check-TESTS \
......
......@@ -3,6 +3,10 @@ AM_CPPFLAGS = -I$(top_srcdir)/include $(PTHREAD_CFLAGS)
AM_LDFLAGS = $(PTHREAD_LIBS)
noinst_LTLIBRARIES=
#############################################
# valgrind support
@VALGRIND_CHECK_RULES@
#############################################
# .C sources
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment