comparison tests/Makefile @ 48:0af03c5571e0

Use diff -u.
author David A. Holland
date Sat, 30 Mar 2013 23:29:08 -0400
parents eaa154ded584
children 8a204d153398 ce9347338583
comparison
equal deleted inserted replaced
47:2e25e55dba6b 48:0af03c5571e0
6 6
7 .for T in $(TESTS) 7 .for T in $(TESTS)
8 run-tests: $(T).diff 8 run-tests: $(T).diff
9 9
10 $(T).diff: $(T).run $(T).good $(TRADCPP) 10 $(T).diff: $(T).run $(T).good $(TRADCPP)
11 -diff $(T).good $(T).run > $(T).diff 11 -diff -u $(T).good $(T).run > $(T).diff
12 12
13 $(T).run: $(TRADCPP) $(T).c 13 $(T).run: $(TRADCPP) $(T).c
14 $(TRADCPP) $(T).c > $(T).run 2>&1 || echo FAILED >> $(T).run 14 $(TRADCPP) $(T).c > $(T).run 2>&1 || echo FAILED >> $(T).run
15 .endfor 15 .endfor
16 16