]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - usr.bin/yacc/tests/Makefile
MFV: r362513
[FreeBSD/FreeBSD.git] / usr.bin / yacc / tests / Makefile
1 # $FreeBSD$
2
3 .include <bsd.own.mk>
4
5 TEST_DIR=       ${SRCTOP}/contrib/byacc/test
6
7 .PATH: ${TEST_DIR} ${TEST_DIR}/yacc
8
9 PLAIN_TESTS_SH= yacc_tests
10 # NOTE: due to caveats with how permissions are handled on FreeBSD
11 # with root, this must be run as a non-privileged user; otherwise
12 # the testcases will fail unexpectedly.
13 TEST_METADATA.yacc_tests+=      required_user="unprivileged"
14
15 SCRIPTS=        run_test
16 SCRIPTSDIR=     ${TESTSDIR}
17
18 CLEANFILES=     run_test
19
20 FILESGROUPS+=   FILEStest FILEStest_yacc
21 FILEStestPACKAGE=${PACKAGE}
22 FILEStest_yaccPACKAGE=${PACKAGE}
23
24 FILEStestDIR=   ${TESTSDIR}
25
26 FILEStest+=     calc_code_all.y
27 FILEStest+=     calc_code_default.y
28 FILEStest+=     calc_code_imports.y
29 FILEStest+=     calc_code_provides.y
30 FILEStest+=     calc_code_requires.y
31 FILEStest+=     calc_code_top.y
32 FILEStest+=     calc.y
33 FILEStest+=     calc1.y
34 FILEStest+=     calc2.y
35 FILEStest+=     calc3.y
36 FILEStest+=     code_calc.y
37 FILEStest+=     code_debug.y
38 FILEStest+=     code_error.y
39 FILEStest+=     empty.y
40 FILEStest+=     err_syntax1.y
41 FILEStest+=     err_syntax10.y
42 FILEStest+=     err_syntax11.y
43 FILEStest+=     err_syntax12.y
44 FILEStest+=     err_syntax13.y
45 FILEStest+=     err_syntax14.y
46 FILEStest+=     err_syntax15.y
47 FILEStest+=     err_syntax16.y
48 FILEStest+=     err_syntax17.y
49 FILEStest+=     err_syntax18.y
50 FILEStest+=     err_syntax19.y
51 FILEStest+=     err_syntax2.y
52 FILEStest+=     err_syntax20.y
53 FILEStest+=     err_syntax21.y
54 FILEStest+=     err_syntax22.y
55 FILEStest+=     err_syntax23.y
56 FILEStest+=     err_syntax24.y
57 FILEStest+=     err_syntax25.y
58 FILEStest+=     err_syntax26.y
59 FILEStest+=     err_syntax27.y
60 FILEStest+=     err_syntax3.y
61 FILEStest+=     err_syntax4.y
62 FILEStest+=     err_syntax5.y
63 FILEStest+=     err_syntax6.y
64 FILEStest+=     err_syntax7.y
65 FILEStest+=     err_syntax7a.y
66 FILEStest+=     err_syntax7b.y
67 FILEStest+=     err_syntax8.y
68 FILEStest+=     err_syntax8a.y
69 FILEStest+=     err_syntax9.y
70 FILEStest+=     error.y
71 FILEStest+=     expr.oxout.y
72 FILEStest+=     grammar.y
73 FILEStest+=     ok_syntax1.y
74 FILEStest+=     pure_calc.y
75 FILEStest+=     pure_error.y
76 FILEStest+=     quote_calc.y
77 FILEStest+=     quote_calc2.y
78 FILEStest+=     quote_calc3.y
79 FILEStest+=     quote_calc4.y
80 FILEStest+=     varsyntax_calc1.y
81
82 FILEStest_yaccDIR=      ${TESTSDIR}/yacc
83
84 FILEStest_yacc+=        big_b.error
85 FILEStest_yacc+=        big_b.output
86 FILEStest_yacc+=        big_l.error
87 FILEStest_yacc+=        big_l.output
88 FILEStest_yacc+=        calc_code_all.error
89 FILEStest_yacc+=        calc_code_all.output
90 FILEStest_yacc+=        calc_code_all.tab.c
91 FILEStest_yacc+=        calc_code_all.tab.h
92 FILEStest_yacc+=        calc_code_default.error
93 FILEStest_yacc+=        calc_code_default.output
94 FILEStest_yacc+=        calc_code_default.tab.c
95 FILEStest_yacc+=        calc_code_default.tab.h
96 FILEStest_yacc+=        calc_code_imports.error
97 FILEStest_yacc+=        calc_code_imports.output
98 FILEStest_yacc+=        calc_code_imports.tab.c
99 FILEStest_yacc+=        calc_code_imports.tab.h
100 FILEStest_yacc+=        calc_code_provides.error
101 FILEStest_yacc+=        calc_code_provides.output
102 FILEStest_yacc+=        calc_code_provides.tab.c
103 FILEStest_yacc+=        calc_code_provides.tab.h
104 FILEStest_yacc+=        calc_code_requires.error
105 FILEStest_yacc+=        calc_code_requires.output
106 FILEStest_yacc+=        calc_code_requires.tab.c
107 FILEStest_yacc+=        calc_code_requires.tab.h
108 FILEStest_yacc+=        calc_code_top.error
109 FILEStest_yacc+=        calc_code_top.output
110 FILEStest_yacc+=        calc_code_top.tab.c
111 FILEStest_yacc+=        calc_code_top.tab.h
112 FILEStest_yacc+=        calc.error
113 FILEStest_yacc+=        calc.output
114 FILEStest_yacc+=        calc.tab.c
115 FILEStest_yacc+=        calc.tab.h
116 FILEStest_yacc+=        calc1.error
117 FILEStest_yacc+=        calc1.output
118 FILEStest_yacc+=        calc1.tab.c
119 FILEStest_yacc+=        calc1.tab.h
120 FILEStest_yacc+=        calc2.error
121 FILEStest_yacc+=        calc2.output
122 FILEStest_yacc+=        calc2.tab.c
123 FILEStest_yacc+=        calc2.tab.h
124 FILEStest_yacc+=        calc3.error
125 FILEStest_yacc+=        calc3.output
126 FILEStest_yacc+=        calc3.tab.c
127 FILEStest_yacc+=        calc3.tab.h
128 FILEStest_yacc+=        code_calc.code.c
129 FILEStest_yacc+=        code_calc.error
130 FILEStest_yacc+=        code_calc.output
131 FILEStest_yacc+=        code_calc.tab.c
132 FILEStest_yacc+=        code_calc.tab.h
133 FILEStest_yacc+=        code_error.code.c
134 FILEStest_yacc+=        code_error.error
135 FILEStest_yacc+=        code_error.output
136 FILEStest_yacc+=        code_error.tab.c
137 FILEStest_yacc+=        code_error.tab.h
138 FILEStest_yacc+=        defines1.calc.c
139 FILEStest_yacc+=        defines1.calc.h
140 FILEStest_yacc+=        defines1.error
141 FILEStest_yacc+=        defines1.output
142 FILEStest_yacc+=        defines2.calc.c
143 FILEStest_yacc+=        defines2.calc.h
144 FILEStest_yacc+=        defines2.error
145 FILEStest_yacc+=        defines2.output
146 FILEStest_yacc+=        defines3.calc.c
147 FILEStest_yacc+=        defines3.calc.h
148 FILEStest_yacc+=        defines3.error
149 FILEStest_yacc+=        defines3.output
150 FILEStest_yacc+=        empty.error
151 FILEStest_yacc+=        empty.output
152 FILEStest_yacc+=        empty.tab.c
153 FILEStest_yacc+=        empty.tab.h
154 FILEStest_yacc+=        err_syntax1.error
155 FILEStest_yacc+=        err_syntax1.output
156 FILEStest_yacc+=        err_syntax1.tab.c
157 FILEStest_yacc+=        err_syntax1.tab.h
158 FILEStest_yacc+=        err_syntax10.error
159 FILEStest_yacc+=        err_syntax10.output
160 FILEStest_yacc+=        err_syntax10.tab.c
161 FILEStest_yacc+=        err_syntax10.tab.h
162 FILEStest_yacc+=        err_syntax11.error
163 FILEStest_yacc+=        err_syntax11.output
164 FILEStest_yacc+=        err_syntax11.tab.c
165 FILEStest_yacc+=        err_syntax11.tab.h
166 FILEStest_yacc+=        err_syntax12.error
167 FILEStest_yacc+=        err_syntax12.output
168 FILEStest_yacc+=        err_syntax12.tab.c
169 FILEStest_yacc+=        err_syntax12.tab.h
170 FILEStest_yacc+=        err_syntax13.error
171 FILEStest_yacc+=        err_syntax13.output
172 FILEStest_yacc+=        err_syntax13.tab.c
173 FILEStest_yacc+=        err_syntax13.tab.h
174 FILEStest_yacc+=        err_syntax14.error
175 FILEStest_yacc+=        err_syntax14.output
176 FILEStest_yacc+=        err_syntax14.tab.c
177 FILEStest_yacc+=        err_syntax14.tab.h
178 FILEStest_yacc+=        err_syntax15.error
179 FILEStest_yacc+=        err_syntax15.output
180 FILEStest_yacc+=        err_syntax15.tab.c
181 FILEStest_yacc+=        err_syntax15.tab.h
182 FILEStest_yacc+=        err_syntax16.error
183 FILEStest_yacc+=        err_syntax16.output
184 FILEStest_yacc+=        err_syntax16.tab.c
185 FILEStest_yacc+=        err_syntax16.tab.h
186 FILEStest_yacc+=        err_syntax17.error
187 FILEStest_yacc+=        err_syntax17.output
188 FILEStest_yacc+=        err_syntax17.tab.c
189 FILEStest_yacc+=        err_syntax17.tab.h
190 FILEStest_yacc+=        err_syntax18.error
191 FILEStest_yacc+=        err_syntax18.output
192 FILEStest_yacc+=        err_syntax18.tab.c
193 FILEStest_yacc+=        err_syntax18.tab.h
194 FILEStest_yacc+=        err_syntax19.error
195 FILEStest_yacc+=        err_syntax19.output
196 FILEStest_yacc+=        err_syntax19.tab.c
197 FILEStest_yacc+=        err_syntax19.tab.h
198 FILEStest_yacc+=        err_syntax2.error
199 FILEStest_yacc+=        err_syntax2.output
200 FILEStest_yacc+=        err_syntax2.tab.c
201 FILEStest_yacc+=        err_syntax2.tab.h
202 FILEStest_yacc+=        err_syntax20.error
203 FILEStest_yacc+=        err_syntax20.output
204 FILEStest_yacc+=        err_syntax20.tab.c
205 FILEStest_yacc+=        err_syntax20.tab.h
206 FILEStest_yacc+=        err_syntax21.error
207 FILEStest_yacc+=        err_syntax21.output
208 FILEStest_yacc+=        err_syntax21.tab.c
209 FILEStest_yacc+=        err_syntax21.tab.h
210 FILEStest_yacc+=        err_syntax22.error
211 FILEStest_yacc+=        err_syntax22.output
212 FILEStest_yacc+=        err_syntax22.tab.c
213 FILEStest_yacc+=        err_syntax22.tab.h
214 FILEStest_yacc+=        err_syntax23.error
215 FILEStest_yacc+=        err_syntax23.output
216 FILEStest_yacc+=        err_syntax23.tab.c
217 FILEStest_yacc+=        err_syntax23.tab.h
218 FILEStest_yacc+=        err_syntax24.error
219 FILEStest_yacc+=        err_syntax24.output
220 FILEStest_yacc+=        err_syntax24.tab.c
221 FILEStest_yacc+=        err_syntax24.tab.h
222 FILEStest_yacc+=        err_syntax25.error
223 FILEStest_yacc+=        err_syntax25.output
224 FILEStest_yacc+=        err_syntax25.tab.c
225 FILEStest_yacc+=        err_syntax25.tab.h
226 FILEStest_yacc+=        err_syntax26.error
227 FILEStest_yacc+=        err_syntax26.output
228 FILEStest_yacc+=        err_syntax26.tab.c
229 FILEStest_yacc+=        err_syntax26.tab.h
230 FILEStest_yacc+=        err_syntax27.error
231 FILEStest_yacc+=        err_syntax27.output
232 FILEStest_yacc+=        err_syntax27.tab.c
233 FILEStest_yacc+=        err_syntax27.tab.h
234 FILEStest_yacc+=        err_syntax3.error
235 FILEStest_yacc+=        err_syntax3.output
236 FILEStest_yacc+=        err_syntax3.tab.c
237 FILEStest_yacc+=        err_syntax3.tab.h
238 FILEStest_yacc+=        err_syntax4.error
239 FILEStest_yacc+=        err_syntax4.output
240 FILEStest_yacc+=        err_syntax4.tab.c
241 FILEStest_yacc+=        err_syntax4.tab.h
242 FILEStest_yacc+=        err_syntax5.error
243 FILEStest_yacc+=        err_syntax5.output
244 FILEStest_yacc+=        err_syntax5.tab.c
245 FILEStest_yacc+=        err_syntax5.tab.h
246 FILEStest_yacc+=        err_syntax6.error
247 FILEStest_yacc+=        err_syntax6.output
248 FILEStest_yacc+=        err_syntax6.tab.c
249 FILEStest_yacc+=        err_syntax6.tab.h
250 FILEStest_yacc+=        err_syntax7.error
251 FILEStest_yacc+=        err_syntax7.output
252 FILEStest_yacc+=        err_syntax7.tab.c
253 FILEStest_yacc+=        err_syntax7.tab.h
254 FILEStest_yacc+=        err_syntax7a.error
255 FILEStest_yacc+=        err_syntax7a.output
256 FILEStest_yacc+=        err_syntax7a.tab.c
257 FILEStest_yacc+=        err_syntax7a.tab.h
258 FILEStest_yacc+=        err_syntax7b.error
259 FILEStest_yacc+=        err_syntax7b.output
260 FILEStest_yacc+=        err_syntax7b.tab.c
261 FILEStest_yacc+=        err_syntax7b.tab.h
262 FILEStest_yacc+=        err_syntax8.error
263 FILEStest_yacc+=        err_syntax8.output
264 FILEStest_yacc+=        err_syntax8.tab.c
265 FILEStest_yacc+=        err_syntax8.tab.h
266 FILEStest_yacc+=        err_syntax8a.error
267 FILEStest_yacc+=        err_syntax8a.output
268 FILEStest_yacc+=        err_syntax8a.tab.c
269 FILEStest_yacc+=        err_syntax8a.tab.h
270 FILEStest_yacc+=        err_syntax9.error
271 FILEStest_yacc+=        err_syntax9.output
272 FILEStest_yacc+=        err_syntax9.tab.c
273 FILEStest_yacc+=        err_syntax9.tab.h
274 FILEStest_yacc+=        error.error
275 FILEStest_yacc+=        error.output
276 FILEStest_yacc+=        error.tab.c
277 FILEStest_yacc+=        error.tab.h
278 FILEStest_yacc+=        expr.oxout.error
279 FILEStest_yacc+=        expr.oxout.output
280 FILEStest_yacc+=        expr.oxout.tab.c
281 FILEStest_yacc+=        expr.oxout.tab.h
282 FILEStest_yacc+=        grammar.dot
283 FILEStest_yacc+=        grammar.error
284 FILEStest_yacc+=        grammar.output
285 FILEStest_yacc+=        grammar.tab.c
286 FILEStest_yacc+=        grammar.tab.h
287 FILEStest_yacc+=        help.error
288 FILEStest_yacc+=        help.output
289 FILEStest_yacc+=        no_b_opt.error
290 FILEStest_yacc+=        no_b_opt.output
291 FILEStest_yacc+=        no_b_opt1.error
292 FILEStest_yacc+=        no_b_opt1.output
293 FILEStest_yacc+=        no_code_c.error
294 FILEStest_yacc+=        no_code_c.output
295 FILEStest_yacc+=        no_defines.error
296 FILEStest_yacc+=        no_defines.output
297 FILEStest_yacc+=        no_graph.error
298 FILEStest_yacc+=        no_graph.output
299 FILEStest_yacc+=        no_include.error
300 FILEStest_yacc+=        no_include.output
301 FILEStest_yacc+=        no_opts.error
302 FILEStest_yacc+=        no_opts.output
303 FILEStest_yacc+=        no_output.error
304 FILEStest_yacc+=        no_output.output
305 FILEStest_yacc+=        no_output1.error
306 FILEStest_yacc+=        no_output1.output
307 FILEStest_yacc+=        no_output2.error
308 FILEStest_yacc+=        no_output2.output
309 FILEStest_yacc+=        no_p_opt.error
310 FILEStest_yacc+=        no_p_opt.output
311 FILEStest_yacc+=        no_p_opt1.error
312 FILEStest_yacc+=        no_p_opt1.output
313 FILEStest_yacc+=        no_verbose.error
314 FILEStest_yacc+=        no_verbose.output
315 FILEStest_yacc+=        nostdin.error
316 FILEStest_yacc+=        nostdin.output
317 FILEStest_yacc+=        ok_syntax1.error
318 FILEStest_yacc+=        ok_syntax1.output
319 FILEStest_yacc+=        ok_syntax1.tab.c
320 FILEStest_yacc+=        ok_syntax1.tab.h
321 FILEStest_yacc+=        pure_calc.error
322 FILEStest_yacc+=        pure_calc.output
323 FILEStest_yacc+=        pure_calc.tab.c
324 FILEStest_yacc+=        pure_calc.tab.h
325 FILEStest_yacc+=        pure_error.error
326 FILEStest_yacc+=        pure_error.output
327 FILEStest_yacc+=        pure_error.tab.c
328 FILEStest_yacc+=        pure_error.tab.h
329 FILEStest_yacc+=        quote_calc-s.error
330 FILEStest_yacc+=        quote_calc-s.output
331 FILEStest_yacc+=        quote_calc-s.tab.c
332 FILEStest_yacc+=        quote_calc-s.tab.h
333 FILEStest_yacc+=        quote_calc.error
334 FILEStest_yacc+=        quote_calc.output
335 FILEStest_yacc+=        quote_calc.tab.c
336 FILEStest_yacc+=        quote_calc.tab.h
337 FILEStest_yacc+=        quote_calc2-s.error
338 FILEStest_yacc+=        quote_calc2-s.output
339 FILEStest_yacc+=        quote_calc2-s.tab.c
340 FILEStest_yacc+=        quote_calc2-s.tab.h
341 FILEStest_yacc+=        quote_calc2.error
342 FILEStest_yacc+=        quote_calc2.output
343 FILEStest_yacc+=        quote_calc2.tab.c
344 FILEStest_yacc+=        quote_calc2.tab.h
345 FILEStest_yacc+=        quote_calc3-s.error
346 FILEStest_yacc+=        quote_calc3-s.output
347 FILEStest_yacc+=        quote_calc3-s.tab.c
348 FILEStest_yacc+=        quote_calc3-s.tab.h
349 FILEStest_yacc+=        quote_calc3.error
350 FILEStest_yacc+=        quote_calc3.output
351 FILEStest_yacc+=        quote_calc3.tab.c
352 FILEStest_yacc+=        quote_calc3.tab.h
353 FILEStest_yacc+=        quote_calc4-s.error
354 FILEStest_yacc+=        quote_calc4-s.output
355 FILEStest_yacc+=        quote_calc4-s.tab.c
356 FILEStest_yacc+=        quote_calc4-s.tab.h
357 FILEStest_yacc+=        quote_calc4.error
358 FILEStest_yacc+=        quote_calc4.output
359 FILEStest_yacc+=        quote_calc4.tab.c
360 FILEStest_yacc+=        quote_calc4.tab.h
361 FILEStest_yacc+=        rename_debug.c
362 FILEStest_yacc+=        rename_debug.error
363 FILEStest_yacc+=        rename_debug.h
364 FILEStest_yacc+=        rename_debug.i
365 FILEStest_yacc+=        rename_debug.output
366 FILEStest_yacc+=        stdin1.calc.c
367 FILEStest_yacc+=        stdin1.error
368 FILEStest_yacc+=        stdin1.output
369 FILEStest_yacc+=        stdin2.calc.c
370 FILEStest_yacc+=        stdin2.error
371 FILEStest_yacc+=        stdin2.output
372 FILEStest_yacc+=        varsyntax_calc1.error
373 FILEStest_yacc+=        varsyntax_calc1.output
374 FILEStest_yacc+=        varsyntax_calc1.tab.c
375 FILEStest_yacc+=        varsyntax_calc1.tab.h
376
377 .include <bsd.test.mk>