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