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 <peter.hutterer@who-t.net>
This commit is contained in:
Peter Hutterer 2016-06-16 11:37:50 +10:00
parent 7860a9ed77
commit b2cd0c27bb

View file

@ -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