Blame


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