Revision 654
Added by Aaron Marcuse-Kubitza about 13 years ago
input.Makefile | ||
---|---|---|
117 | 117 |
testRef = $(1:.2-step.xml=.xml).ref |
118 | 118 |
|
119 | 119 |
define test |
120 |
set -o pipefail; env test=1 n=$(test_n) $(1) $(if $(+in),<$(+in)) $(+maps) 2>&1\ |
|
121 |
>$@ | tee -a $@.err |
|
120 |
env test=1 n=$(test_n) $(1) $(if $(+in),<$(+in)) $(+maps) >$@ |
|
122 | 121 |
@(set -x; $(DIFF) $(call testRef,$@) $@) 2>&1 || { e=$$?;\ |
123 | 122 |
echo $(emph)"To accept new test output:"$(endEmph);\ |
124 | 123 |
echo "$(MAKE) $@-ok --directory=$(realpath .) --makefile=../input.Makefile";\ |
Also available in: Unified diff
input.Makefile: Don't save *.err outputs for each test because this information is printed to the screen