aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Makefile
diff options
authorLuc Van Oostenryck <luc.vanoostenryck@gmail.com>2017-11-21 11:29:19 +0100
committerLuc Van Oostenryck <luc.vanoostenryck@gmail.com>2017-12-08 13:55:21 +0100
commit97662ff3c2a17a1fdc48b8f1daf0813fe347c8dc (patch)
tree9205c1207e24103f26dac86b031a2327ee4d35e2 /Makefile
parent8d781d16644e826476b6f410acd5a48e1d7b98d6 (diff)
downloadsparse-dev-97662ff3c2a17a1fdc48b8f1daf0813fe347c8dc.tar.gz
testsuite: make the '%.t' rule depends on PROGRAMS too
The testsuite can be run on a specific testcase directly via the Makefile via a 'validation/%.t' pattern rule but this rule had no dependency on the programs being tested and thus could be run on a previous version. Fix this by adding the needed dependencies. Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 1ae0a33f..dab38aac 100644
--- a/Makefile
+++ b/Makefile
@@ -214,7 +214,7 @@ version.h: FORCE
check: all
$(Q)cd validation && ./test-suite
-validation/%.t: FORCE
+validation/%.t: $(PROGRAMS)
@validation/test-suite single $*.c