From 16496eeac142483813e3e511744c58eb04ecaf49 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Wed, 13 Jun 2012 13:26:27 -0700 Subject: [PATCH] tests: Add $(check_DATA) to check-valgrind dependencies. Otherwise if you run "check-valgrind" in a tree where you've never run "check", you get some test failures because some data files don't get generated before the tests run. Signed-off-by: Ben Pfaff --- tests/automake.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/automake.mk b/tests/automake.mk index b7e1b94e..81d29427 100644 --- a/tests/automake.mk +++ b/tests/automake.mk @@ -192,7 +192,8 @@ VALGRIND = valgrind --log-file=valgrind.%p --leak-check=full \ --suppressions=$(abs_top_srcdir)/tests/glibc.supp \ --suppressions=$(abs_top_srcdir)/tests/openssl.supp --num-callers=20 EXTRA_DIST += tests/glibc.supp tests/openssl.supp -check-valgrind: all tests/atconfig tests/atlocal $(TESTSUITE) $(valgrind_wrappers) +check-valgrind: all tests/atconfig tests/atlocal $(TESTSUITE) \ + $(valgrind_wrappers) $(check_DATA) $(SHELL) '$(TESTSUITE)' -C tests CHECK_VALGRIND=true VALGRIND='$(VALGRIND)' AUTOTEST_PATH='tests/valgrind:$(AUTOTEST_PATH)' -d $(TESTSUITEFLAGS) @echo @echo '----------------------------------------------------------------------' -- 2.30.2