$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)))