From: Mark Wooding Date: Tue, 20 Aug 2024 19:26:51 +0000 (+0100) Subject: Makefile: Silence the testing rules. X-Git-Tag: 0.99.0~110 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/xyla/commitdiff_plain/4273a1da8315ac3b3ce4ce18a451a2ea1236fbb5?ds=inline Makefile: Silence the testing rules. --- diff --git a/Makefile b/Makefile index dd94204..e450ec3 100644 --- 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)))