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
10 REGRESS_CLEANUP = clean-comp
11 NO_OBJ = Yes
13 CFLAGS += -I../../template
15 .PATH:../../template
17 clean-comp:
18 rm -f t got 0*.[cdo] runbase.[do] runlist.[do] tmpl.*
20 .SUFFIXES: .tmpl .c .o
22 .tmpl.c:
23 ../../template/obj/template -o $@ $<
25 00-empty:
26 ../../template/obj/template 00-empty.tmpl >/dev/null
28 01-noise-only:
29 ../../template/obj/template 01-noise-only.tmpl >/dev/null
31 02-only-verbatim: 02-only-verbatim.o tmpl.o
32 ${CC} 02-only-verbatim.o tmpl.o -o t && ./t > got
33 diff -u ${.CURDIR}/02.expected got
35 03-block: 03-block.o runbase.o tmpl.o
36 ${CC} 03-block.o runbase.o tmpl.o -o t && ./t > got
37 diff -u ${.CURDIR}/03.expected got
39 04-flow: 04-flow.o runbase.o tmpl.o
40 ${CC} 04-flow.o runbase.o tmpl.o -o t && ./t > got
41 diff -u ${.CURDIR}/04.expected got
43 05-loop: 05-loop.o runlist.o tmpl.o
44 ${CC} 05-loop.o runlist.o tmpl.o -o t && ./t > got
45 diff -u ${.CURDIR}/05.expected got
47 06-escape: 06-escape.o runbase.o tmpl.o
48 ${CC} 06-escape.o runbase.o tmpl.o -o t && ./t > got
49 diff -u ${.CURDIR}/06.expected got
51 07-printf: 07-printf.o runbase.o tmpl.o
52 ${CC} 07-printf.o runbase.o tmpl.o -o t && ./t > got
53 diff -u ${.CURDIR}/07.expected got
55 .include <bsd.regress.mk>