xref: /freebsd/lib/libxo/tests/Makefile (revision 22cf89c938886d14f5796fc49f9f020c23ea8eaf)
1
2.include <bsd.own.mk>
3
4PACKAGE=	tests
5
6WARNS?=		1
7
8LIBXOSRC=	${SRCTOP}/contrib/libxo
9
10# Override the default suffix transformation rules for .c/.o -> .out
11.SUFFIXES:
12.SUFFIXES: .c .err .o .out .sh
13
14.PATH:
15.PATH.c: ${LIBXOSRC}/libxo ${LIBXOSRC}/tests/core
16.PATH.err: ${LIBXOSRC}/tests/core/saved
17.PATH.out: ${LIBXOSRC}/tests/core/saved
18
19.c.out .o.out:
20
21ATF_TESTS_SH+=	functional_test
22
23BINDIR=	${TESTSDIR}
24
25${PACKAGE}FILES+= test_01.E.err
26${PACKAGE}FILES+= test_01.E.out
27${PACKAGE}FILES+= test_01.H.err
28${PACKAGE}FILES+= test_01.H.out
29${PACKAGE}FILES+= test_01.HIPx.err
30${PACKAGE}FILES+= test_01.HIPx.out
31${PACKAGE}FILES+= test_01.HP.err
32${PACKAGE}FILES+= test_01.HP.out
33${PACKAGE}FILES+= test_01.J.err
34${PACKAGE}FILES+= test_01.J.out
35${PACKAGE}FILES+= test_01.JP.err
36${PACKAGE}FILES+= test_01.JP.out
37${PACKAGE}FILES+= test_01.T.err
38${PACKAGE}FILES+= test_01.T.out
39${PACKAGE}FILES+= test_01.X.err
40${PACKAGE}FILES+= test_01.X.out
41${PACKAGE}FILES+= test_01.XP.err
42${PACKAGE}FILES+= test_01.XP.out
43${PACKAGE}FILES+= test_01.err
44${PACKAGE}FILES+= test_01.out
45${PACKAGE}FILES+= test_02.E.err
46${PACKAGE}FILES+= test_02.E.out
47${PACKAGE}FILES+= test_02.H.err
48${PACKAGE}FILES+= test_02.H.out
49${PACKAGE}FILES+= test_02.HIPx.err
50${PACKAGE}FILES+= test_02.HIPx.out
51${PACKAGE}FILES+= test_02.HP.err
52${PACKAGE}FILES+= test_02.HP.out
53${PACKAGE}FILES+= test_02.J.err
54${PACKAGE}FILES+= test_02.J.out
55${PACKAGE}FILES+= test_02.JP.err
56${PACKAGE}FILES+= test_02.JP.out
57${PACKAGE}FILES+= test_02.T.err
58${PACKAGE}FILES+= test_02.T.out
59${PACKAGE}FILES+= test_02.X.err
60${PACKAGE}FILES+= test_02.X.out
61${PACKAGE}FILES+= test_02.XP.err
62${PACKAGE}FILES+= test_02.XP.out
63${PACKAGE}FILES+= test_02.err
64${PACKAGE}FILES+= test_02.out
65${PACKAGE}FILES+= test_03.E.err
66${PACKAGE}FILES+= test_03.E.out
67${PACKAGE}FILES+= test_03.H.err
68${PACKAGE}FILES+= test_03.H.out
69${PACKAGE}FILES+= test_03.HIPx.err
70${PACKAGE}FILES+= test_03.HIPx.out
71${PACKAGE}FILES+= test_03.HP.err
72${PACKAGE}FILES+= test_03.HP.out
73${PACKAGE}FILES+= test_03.J.err
74${PACKAGE}FILES+= test_03.J.out
75${PACKAGE}FILES+= test_03.JP.err
76${PACKAGE}FILES+= test_03.JP.out
77${PACKAGE}FILES+= test_03.T.err
78${PACKAGE}FILES+= test_03.T.out
79${PACKAGE}FILES+= test_03.X.err
80${PACKAGE}FILES+= test_03.X.out
81${PACKAGE}FILES+= test_03.XP.err
82${PACKAGE}FILES+= test_03.XP.out
83${PACKAGE}FILES+= test_03.err
84${PACKAGE}FILES+= test_03.out
85${PACKAGE}FILES+= test_04.E.err
86${PACKAGE}FILES+= test_04.E.out
87${PACKAGE}FILES+= test_04.H.err
88${PACKAGE}FILES+= test_04.H.out
89${PACKAGE}FILES+= test_04.HIPx.err
90${PACKAGE}FILES+= test_04.HIPx.out
91${PACKAGE}FILES+= test_04.HP.err
92${PACKAGE}FILES+= test_04.HP.out
93${PACKAGE}FILES+= test_04.J.err
94${PACKAGE}FILES+= test_04.J.out
95${PACKAGE}FILES+= test_04.JP.err
96${PACKAGE}FILES+= test_04.JP.out
97${PACKAGE}FILES+= test_04.T.err
98${PACKAGE}FILES+= test_04.T.out
99${PACKAGE}FILES+= test_04.X.err
100${PACKAGE}FILES+= test_04.X.out
101${PACKAGE}FILES+= test_04.XP.err
102${PACKAGE}FILES+= test_04.XP.out
103${PACKAGE}FILES+= test_05.E.err
104${PACKAGE}FILES+= test_05.E.out
105${PACKAGE}FILES+= test_05.H.err
106${PACKAGE}FILES+= test_05.H.out
107${PACKAGE}FILES+= test_05.HIPx.err
108${PACKAGE}FILES+= test_05.HIPx.out
109${PACKAGE}FILES+= test_05.HP.err
110${PACKAGE}FILES+= test_05.HP.out
111${PACKAGE}FILES+= test_05.J.err
112${PACKAGE}FILES+= test_05.J.out
113${PACKAGE}FILES+= test_05.JP.err
114${PACKAGE}FILES+= test_05.JP.out
115${PACKAGE}FILES+= test_05.T.err
116${PACKAGE}FILES+= test_05.T.out
117${PACKAGE}FILES+= test_05.X.err
118${PACKAGE}FILES+= test_05.X.out
119${PACKAGE}FILES+= test_05.XP.err
120${PACKAGE}FILES+= test_05.XP.out
121${PACKAGE}FILES+= test_06.E.err
122${PACKAGE}FILES+= test_06.E.out
123${PACKAGE}FILES+= test_06.H.err
124${PACKAGE}FILES+= test_06.H.out
125${PACKAGE}FILES+= test_06.HIPx.err
126${PACKAGE}FILES+= test_06.HIPx.out
127${PACKAGE}FILES+= test_06.HP.err
128${PACKAGE}FILES+= test_06.HP.out
129${PACKAGE}FILES+= test_06.J.err
130${PACKAGE}FILES+= test_06.J.out
131${PACKAGE}FILES+= test_06.JP.err
132${PACKAGE}FILES+= test_06.JP.out
133${PACKAGE}FILES+= test_06.T.err
134${PACKAGE}FILES+= test_06.T.out
135${PACKAGE}FILES+= test_06.X.err
136${PACKAGE}FILES+= test_06.X.out
137${PACKAGE}FILES+= test_06.XP.err
138${PACKAGE}FILES+= test_06.XP.out
139${PACKAGE}FILES+= test_07.E.err
140${PACKAGE}FILES+= test_07.E.out
141${PACKAGE}FILES+= test_07.H.err
142${PACKAGE}FILES+= test_07.H.out
143${PACKAGE}FILES+= test_07.HIPx.err
144${PACKAGE}FILES+= test_07.HIPx.out
145${PACKAGE}FILES+= test_07.HP.err
146${PACKAGE}FILES+= test_07.HP.out
147${PACKAGE}FILES+= test_07.J.err
148${PACKAGE}FILES+= test_07.J.out
149${PACKAGE}FILES+= test_07.JP.err
150${PACKAGE}FILES+= test_07.JP.out
151${PACKAGE}FILES+= test_07.T.err
152${PACKAGE}FILES+= test_07.T.out
153${PACKAGE}FILES+= test_07.X.err
154${PACKAGE}FILES+= test_07.X.out
155${PACKAGE}FILES+= test_07.XP.err
156${PACKAGE}FILES+= test_07.XP.out
157${PACKAGE}FILES+= test_08.E.err
158${PACKAGE}FILES+= test_08.E.out
159${PACKAGE}FILES+= test_08.H.err
160${PACKAGE}FILES+= test_08.H.out
161${PACKAGE}FILES+= test_08.HIPx.err
162${PACKAGE}FILES+= test_08.HIPx.out
163${PACKAGE}FILES+= test_08.HP.err
164${PACKAGE}FILES+= test_08.HP.out
165${PACKAGE}FILES+= test_08.J.err
166${PACKAGE}FILES+= test_08.J.out
167${PACKAGE}FILES+= test_08.JP.err
168${PACKAGE}FILES+= test_08.JP.out
169${PACKAGE}FILES+= test_08.T.err
170${PACKAGE}FILES+= test_08.T.out
171${PACKAGE}FILES+= test_08.X.err
172${PACKAGE}FILES+= test_08.X.out
173${PACKAGE}FILES+= test_08.XP.err
174${PACKAGE}FILES+= test_08.XP.out
175${PACKAGE}FILES+= test_09.E.err
176${PACKAGE}FILES+= test_09.E.out
177${PACKAGE}FILES+= test_09.H.err
178${PACKAGE}FILES+= test_09.H.out
179${PACKAGE}FILES+= test_09.HIPx.err
180${PACKAGE}FILES+= test_09.HIPx.out
181${PACKAGE}FILES+= test_09.HP.err
182${PACKAGE}FILES+= test_09.HP.out
183${PACKAGE}FILES+= test_09.J.err
184${PACKAGE}FILES+= test_09.J.out
185${PACKAGE}FILES+= test_09.JP.err
186${PACKAGE}FILES+= test_09.JP.out
187${PACKAGE}FILES+= test_09.T.err
188${PACKAGE}FILES+= test_09.T.out
189${PACKAGE}FILES+= test_09.X.err
190${PACKAGE}FILES+= test_09.X.out
191${PACKAGE}FILES+= test_09.XP.err
192${PACKAGE}FILES+= test_09.XP.out
193${PACKAGE}FILES+= test_10.E.err
194${PACKAGE}FILES+= test_10.E.out
195${PACKAGE}FILES+= test_10.H.err
196${PACKAGE}FILES+= test_10.H.out
197${PACKAGE}FILES+= test_10.HIPx.err
198${PACKAGE}FILES+= test_10.HIPx.out
199${PACKAGE}FILES+= test_10.HP.err
200${PACKAGE}FILES+= test_10.HP.out
201${PACKAGE}FILES+= test_10.J.err
202${PACKAGE}FILES+= test_10.J.out
203${PACKAGE}FILES+= test_10.JP.err
204${PACKAGE}FILES+= test_10.JP.out
205${PACKAGE}FILES+= test_10.T.err
206${PACKAGE}FILES+= test_10.T.out
207${PACKAGE}FILES+= test_10.X.err
208${PACKAGE}FILES+= test_10.X.out
209${PACKAGE}FILES+= test_10.XP.err
210${PACKAGE}FILES+= test_10.XP.out
211${PACKAGE}FILES+= test_10.err
212${PACKAGE}FILES+= test_10.out
213${PACKAGE}FILES+= test_11.E.err
214${PACKAGE}FILES+= test_11.E.out
215${PACKAGE}FILES+= test_11.H.err
216${PACKAGE}FILES+= test_11.H.out
217${PACKAGE}FILES+= test_11.HIPx.err
218${PACKAGE}FILES+= test_11.HIPx.out
219${PACKAGE}FILES+= test_11.HP.err
220${PACKAGE}FILES+= test_11.HP.out
221${PACKAGE}FILES+= test_11.J.err
222${PACKAGE}FILES+= test_11.J.out
223${PACKAGE}FILES+= test_11.JP.err
224${PACKAGE}FILES+= test_11.JP.out
225${PACKAGE}FILES+= test_11.T.err
226${PACKAGE}FILES+= test_11.T.out
227${PACKAGE}FILES+= test_11.X.err
228${PACKAGE}FILES+= test_11.X.out
229${PACKAGE}FILES+= test_11.XP.err
230${PACKAGE}FILES+= test_11.XP.out
231
232PROGS+= test_01
233PROGS+= test_02
234PROGS+= test_03
235PROGS+= test_04
236PROGS+= test_05
237PROGS+= test_06
238PROGS+= test_07
239PROGS+= test_08
240PROGS+= test_09
241PROGS+= test_10
242PROGS+= test_11
243
244CFLAGS+=	-I${LIBXOSRC}/libxo -I${.CURDIR:H}/libxo
245
246LIBADD=		xo util
247
248SUBDIR+=	encoder
249
250.include <bsd.test.mk>
251