chiark / gitweb /
Makefile: Silence the testing rules.
authorMark Wooding <mdw@distorted.org.uk>
Tue, 20 Aug 2024 19:26:51 +0000 (20:26 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Tue, 20 Aug 2024 19:30:58 +0000 (20:30 +0100)
Makefile

index dd942041c60984ccb60ab9de86331dd509dabf40..e450ec3a9c1ab83605d5a03d512a71eb5ab0f60b 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -88,9 +88,9 @@ $1_ALLTESTS            = $$(foreach t,$$(COMMON_TESTS) $$($1_TESTS), $1-$$t)
 $1_CHECK                = $$(foreach t,$$($1_ALLTESTS), check-$$t)
 check-$1: $$($1_CHECK)
 $$($1_CHECK): check-$1-%: $1test %.in | $1-%.ref
-       ./$1test <$$*.in >$1-$$*.out && diff -u $1-$$*.out $1-$$*.ref
+       $$(call v-tag,TEST)./$1test <$$*.in >$1-$$*.out && diff -u $1-$$*.out $1-$$*.ref
 $$(foreach t,$$($1_ALLTESTS), $$t.ref): $1-%.ref: | %.in $1test
-       ./$1test <$$*.in >$$@.new && mv $$@.new $$@
+       $$(call v-tag,GEN)./$1test <$$*.in >$$@.new && mv $$@.new $$@
 .PHONY: check-$1 $$($1_CHECK)
 endef
 $(foreach t,$(TREES), $(eval $(call tree-tests,$t)))