From: Ben Pfaff Date: Wed, 13 Jun 2012 20:26:27 +0000 (-0700) Subject: tests: Add $(check_DATA) to check-valgrind dependencies. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=16496eeac142483813e3e511744c58eb04ecaf49;p=openvswitch 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 --- 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 '----------------------------------------------------------------------'