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