From b2cd0c27bb1cfe56f91e68f6bccbc73d71beee7e Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Thu, 16 Jun 2016 11:37:50 +1000 Subject: [PATCH] test: make the valgrind target depend on 'all' Make sure we rebuild before running valgrind, everything else is a waste of time. Signed-off-by: Peter Hutterer --- test/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/Makefile.am b/test/Makefile.am index 3b455eb9..1ea38158 100644 --- a/test/Makefile.am +++ b/test/Makefile.am @@ -200,7 +200,7 @@ VALGRIND_FLAGS=--leak-check=full \ --error-exitcode=3 \ --suppressions=$(srcdir)/valgrind.suppressions -valgrind: +valgrind: all $(MAKE) check-TESTS LOG_COMPILER="$(VALGRIND)" LOG_FLAGS="$(VALGRIND_FLAGS)" CK_FORK=no USING_VALGRIND=yes check: valgrind