Blob


1 REGRESS_TARGETS = 00-empty \
2 01-noise-only \
3 02-only-verbatim \
4 03-block \
5 04-flow \
6 05-loop \
7 06-escape \
8 07-printf \
9 08-dangling
11 REGRESS_CLEANUP = clean-comp
12 NO_OBJ = Yes
14 CFLAGS += -I../../template
16 .PATH:../../template
18 clean-comp:
19 rm -f t got 0*.[cdo] runbase.[do] runlist.[do] tmpl.*
21 .SUFFIXES: .tmpl .c .o
23 .tmpl.c:
24 ../../template/obj/template -o $@ $<
26 00-empty:
27 ../../template/obj/template 00-empty.tmpl >/dev/null
29 01-noise-only:
30 ../../template/obj/template 01-noise-only.tmpl >/dev/null
32 02-only-verbatim: 02-only-verbatim.o tmpl.o
33 ${CC} 02-only-verbatim.o tmpl.o -o t && ./t > got
34 diff -u ${.CURDIR}/02.expected got
36 03-block: 03-block.o runbase.o tmpl.o
37 ${CC} 03-block.o runbase.o tmpl.o -o t && ./t > got
38 diff -u ${.CURDIR}/03.expected got
40 04-flow: 04-flow.o runbase.o tmpl.o
41 ${CC} 04-flow.o runbase.o tmpl.o -o t && ./t > got
42 diff -u ${.CURDIR}/04.expected got
44 05-loop: 05-loop.o runlist.o tmpl.o
45 ${CC} 05-loop.o runlist.o tmpl.o -o t && ./t > got
46 diff -u ${.CURDIR}/05.expected got
48 06-escape: 06-escape.o runbase.o tmpl.o
49 ${CC} 06-escape.o runbase.o tmpl.o -o t && ./t > got
50 diff -u ${.CURDIR}/06.expected got
52 07-printf: 07-printf.o runbase.o tmpl.o
53 ${CC} 07-printf.o runbase.o tmpl.o -o t && ./t > got
54 diff -u ${.CURDIR}/07.expected got
56 08-dangling: 08-dangling.o runbase.o tmpl.o
57 ${CC} 08-dangling.o runbase.o tmpl.o -o t && ./t > got
58 diff -u ${.CURDIR}/08.expected got
60 .include <bsd.regress.mk>