Revision 780
Added by Aaron Marcuse-Kubitza almost 13 years ago
input.Makefile | ||
---|---|---|
154 | 154 |
@echo "Testing $(abspath $@)..." |
155 | 155 |
>$@ env test=1 verbose=1 n=$(test_n) $(1) |
156 | 156 |
@(set -x; $(DIFF) $(call testRef,$@) $@) 2>&1 || { e=$$?;\ |
157 |
$(if $(wildcard $(call testRef,$@)),,cat $@;)\ |
|
157 | 158 |
$(if $(hasOwnRef),\ |
158 | 159 |
echo $(emph)"To accept new test output:"$(endEmph);\ |
159 | 160 |
echo "$(MAKE) $@-ok --directory=$(realpath .) --makefile=../input.Makefile";\ |
Also available in: Unified diff
input.Makefile: If a test doesn't yet have accepted output, print its current output