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