summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@behdad.org>2008-09-16 16:05:57 -0400
committerBehdad Esfahbod <behdad@behdad.org>2008-09-16 19:45:03 -0400
commitff9a2af19e406807b3a962b930ec66b22a6a5974 (patch)
treed455c4489a9854e9d50018c4a4a12b2ba365a487 /test
parent9e2ef481aa86b01fbdc91d4908ad312bca85db89 (diff)
[test] Make test programs depend on check programs
Since they use them when being run.
Diffstat (limited to 'test')
-rw-r--r--test/Makefile.am2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/Makefile.am b/test/Makefile.am
index 57aa781bf..57faebb1e 100644
--- a/test/Makefile.am
+++ b/test/Makefile.am
@@ -978,6 +978,8 @@ check-valgrind:
$(MAKE) $(AM_MAKEFLAGS) check TESTS_ENVIRONMENT='$(TESTS_ENVIRONMENT) $(top_builddir)/libtool --mode=execute valgrind $(VALGRIND_FLAGS)' 2>&1 | tee valgrind-log
+$(TESTS): $(check_PROGRAMS)
+
%.log: % $(check_PROGRAMS)
-./$<