Mercurial > ~dholland > hg > tradcpp > index.cgi
comparison tests/Makefile @ 59:a52f0229f22b
Merge.
author | David A. Holland |
---|---|
date | Sun, 31 Mar 2013 01:17:45 -0400 |
parents | 0cd5a1d55ed6 8a204d153398 |
children | cf4c97cebbd9 |
comparison
equal
deleted
inserted
replaced
58:0cd5a1d55ed6 | 59:a52f0229f22b |
---|---|
1 # $NetBSD$ | |
2 | |
3 all: run-tests .WAIT show-diffs | |
4 | |
5 TESTDIR= ${TESTSBASE}/usr.bin/tradcpp | |
6 | |
7 TESTS_SH+= tradcpp | |
8 | |
9 .include <bsd.test.mk> | |
10 | |
11 TRADCPP_OBJDIR!= ${MAKE} -C .. -V .OBJDIR | 1 TRADCPP_OBJDIR!= ${MAKE} -C .. -V .OBJDIR |
12 TRADCPP= ${TRADCPP_OBJDIR}/tradcpp | 2 TRADCPP= ${TRADCPP_OBJDIR}/tradcpp |
13 | 3 |
14 TESTS=t01 t02 t03 t04 t05 t06 t07 t08 t09 t10 t11 t12 t16 t17 t18 t19 | 4 TESTS=\ |
5 t01 t02 t03 t04 t05 t06 t07 t08 t09 t10 t11 t12 t13 t14 t15 t16 \ | |
6 t17 t18 t19 | |
7 | |
8 all: run-tests .WAIT show-diffs | |
15 | 9 |
16 .for T in $(TESTS) | 10 .for T in $(TESTS) |
17 run-tests: $(T).diff | 11 run-tests: $(T).diff |
18 | 12 |
19 $(T).diff: $(T).run $(T).good $(TRADCPP) | 13 $(T).diff: $(T).run $(T).good $(TRADCPP) |
38 .for T in $(TESTS) | 32 .for T in $(TESTS) |
39 cp $(T).run $(T).good | 33 cp $(T).run $(T).good |
40 .endfor | 34 .endfor |
41 | 35 |
42 .PHONY: all run-tests show-diffs clean good | 36 .PHONY: all run-tests show-diffs clean good |
37 | |
38 ############################################################ | |
39 | |
40 .if defined(ALLOW_BROKEN_ATF_POLLUTION) | |
41 TESTDIR= ${TESTSBASE}/usr.bin/tradcpp | |
42 TESTS_SH+= tradcpp | |
43 .include <bsd.test.mk> | |
44 .endif |