]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - usr.bin/yacc/tests/Makefile
Merge lld trunk r366426, and resolve conflicts.
[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+=     btyacc_calc1.y
27 FILEStest+=     btyacc_demo.y
28 FILEStest+=     btyacc_destroy1.y
29 FILEStest+=     btyacc_destroy2.y
30 FILEStest+=     btyacc_destroy3.y
31 FILEStest+=     calc.y
32 FILEStest+=     calc1.y
33 FILEStest+=     calc2.y
34 FILEStest+=     calc3.y
35 FILEStest+=     code_calc.y
36 FILEStest+=     code_debug.y
37 FILEStest+=     code_error.y
38 FILEStest+=     empty.y
39 FILEStest+=     err_inherit1.y
40 FILEStest+=     err_inherit2.y
41 FILEStest+=     err_inherit3.y
42 FILEStest+=     err_inherit4.y
43 FILEStest+=     err_inherit5.y
44 FILEStest+=     err_syntax1.y
45 FILEStest+=     err_syntax10.y
46 FILEStest+=     err_syntax11.y
47 FILEStest+=     err_syntax12.y
48 FILEStest+=     err_syntax13.y
49 FILEStest+=     err_syntax14.y
50 FILEStest+=     err_syntax15.y
51 FILEStest+=     err_syntax16.y
52 FILEStest+=     err_syntax17.y
53 FILEStest+=     err_syntax18.y
54 FILEStest+=     err_syntax19.y
55 FILEStest+=     err_syntax2.y
56 FILEStest+=     err_syntax20.y
57 FILEStest+=     err_syntax21.y
58 FILEStest+=     err_syntax22.y
59 FILEStest+=     err_syntax23.y
60 FILEStest+=     err_syntax24.y
61 FILEStest+=     err_syntax25.y
62 FILEStest+=     err_syntax26.y
63 FILEStest+=     err_syntax27.y
64 FILEStest+=     err_syntax3.y
65 FILEStest+=     err_syntax4.y
66 FILEStest+=     err_syntax5.y
67 FILEStest+=     err_syntax6.y
68 FILEStest+=     err_syntax7.y
69 FILEStest+=     err_syntax7a.y
70 FILEStest+=     err_syntax7b.y
71 FILEStest+=     err_syntax8.y
72 FILEStest+=     err_syntax8a.y
73 FILEStest+=     err_syntax9.y
74 FILEStest+=     error.y
75 FILEStest+=     expr.oxout.y
76 FILEStest+=     grammar.y
77 FILEStest+=     inherit0.y
78 FILEStest+=     inherit1.y
79 FILEStest+=     inherit2.y
80 FILEStest+=     ok_syntax1.y
81 FILEStest+=     pure_calc.y
82 FILEStest+=     pure_error.y
83 FILEStest+=     quote_calc.y
84 FILEStest+=     quote_calc2.y
85 FILEStest+=     quote_calc3.y
86 FILEStest+=     quote_calc4.y
87 FILEStest+=     varsyntax_calc1.y
88
89 FILEStest_yaccDIR=      ${TESTSDIR}/yacc
90
91 FILEStest_yacc+=        big_b.error
92 FILEStest_yacc+=        big_b.output
93 FILEStest_yacc+=        big_l.error
94 FILEStest_yacc+=        big_l.output
95 FILEStest_yacc+=        calc.error
96 FILEStest_yacc+=        calc.output
97 FILEStest_yacc+=        calc.tab.c
98 FILEStest_yacc+=        calc.tab.h
99 FILEStest_yacc+=        calc1.error
100 FILEStest_yacc+=        calc1.output
101 FILEStest_yacc+=        calc1.tab.c
102 FILEStest_yacc+=        calc1.tab.h
103 FILEStest_yacc+=        calc2.error
104 FILEStest_yacc+=        calc2.output
105 FILEStest_yacc+=        calc2.tab.c
106 FILEStest_yacc+=        calc2.tab.h
107 FILEStest_yacc+=        calc3.error
108 FILEStest_yacc+=        calc3.output
109 FILEStest_yacc+=        calc3.tab.c
110 FILEStest_yacc+=        calc3.tab.h
111 FILEStest_yacc+=        code_calc.code.c
112 FILEStest_yacc+=        code_calc.error
113 FILEStest_yacc+=        code_calc.output
114 FILEStest_yacc+=        code_calc.tab.c
115 FILEStest_yacc+=        code_calc.tab.h
116 FILEStest_yacc+=        code_error.code.c
117 FILEStest_yacc+=        code_error.error
118 FILEStest_yacc+=        code_error.output
119 FILEStest_yacc+=        code_error.tab.c
120 FILEStest_yacc+=        code_error.tab.h
121 FILEStest_yacc+=        empty.error
122 FILEStest_yacc+=        empty.output
123 FILEStest_yacc+=        empty.tab.c
124 FILEStest_yacc+=        empty.tab.h
125 FILEStest_yacc+=        err_syntax1.error
126 FILEStest_yacc+=        err_syntax1.output
127 FILEStest_yacc+=        err_syntax1.tab.c
128 FILEStest_yacc+=        err_syntax1.tab.h
129 FILEStest_yacc+=        err_syntax10.error
130 FILEStest_yacc+=        err_syntax10.output
131 FILEStest_yacc+=        err_syntax10.tab.c
132 FILEStest_yacc+=        err_syntax10.tab.h
133 FILEStest_yacc+=        err_syntax11.error
134 FILEStest_yacc+=        err_syntax11.output
135 FILEStest_yacc+=        err_syntax11.tab.c
136 FILEStest_yacc+=        err_syntax11.tab.h
137 FILEStest_yacc+=        err_syntax12.error
138 FILEStest_yacc+=        err_syntax12.output
139 FILEStest_yacc+=        err_syntax12.tab.c
140 FILEStest_yacc+=        err_syntax12.tab.h
141 FILEStest_yacc+=        err_syntax13.error
142 FILEStest_yacc+=        err_syntax13.output
143 FILEStest_yacc+=        err_syntax13.tab.c
144 FILEStest_yacc+=        err_syntax13.tab.h
145 FILEStest_yacc+=        err_syntax14.error
146 FILEStest_yacc+=        err_syntax14.output
147 FILEStest_yacc+=        err_syntax14.tab.c
148 FILEStest_yacc+=        err_syntax14.tab.h
149 FILEStest_yacc+=        err_syntax15.error
150 FILEStest_yacc+=        err_syntax15.output
151 FILEStest_yacc+=        err_syntax15.tab.c
152 FILEStest_yacc+=        err_syntax15.tab.h
153 FILEStest_yacc+=        err_syntax16.error
154 FILEStest_yacc+=        err_syntax16.output
155 FILEStest_yacc+=        err_syntax16.tab.c
156 FILEStest_yacc+=        err_syntax16.tab.h
157 FILEStest_yacc+=        err_syntax17.error
158 FILEStest_yacc+=        err_syntax17.output
159 FILEStest_yacc+=        err_syntax17.tab.c
160 FILEStest_yacc+=        err_syntax17.tab.h
161 FILEStest_yacc+=        err_syntax18.error
162 FILEStest_yacc+=        err_syntax18.output
163 FILEStest_yacc+=        err_syntax18.tab.c
164 FILEStest_yacc+=        err_syntax18.tab.h
165 FILEStest_yacc+=        err_syntax19.error
166 FILEStest_yacc+=        err_syntax19.output
167 FILEStest_yacc+=        err_syntax19.tab.c
168 FILEStest_yacc+=        err_syntax19.tab.h
169 FILEStest_yacc+=        err_syntax2.error
170 FILEStest_yacc+=        err_syntax2.output
171 FILEStest_yacc+=        err_syntax2.tab.c
172 FILEStest_yacc+=        err_syntax2.tab.h
173 FILEStest_yacc+=        err_syntax20.error
174 FILEStest_yacc+=        err_syntax20.output
175 FILEStest_yacc+=        err_syntax20.tab.c
176 FILEStest_yacc+=        err_syntax20.tab.h
177 FILEStest_yacc+=        err_syntax21.error
178 FILEStest_yacc+=        err_syntax21.output
179 FILEStest_yacc+=        err_syntax21.tab.c
180 FILEStest_yacc+=        err_syntax21.tab.h
181 FILEStest_yacc+=        err_syntax22.error
182 FILEStest_yacc+=        err_syntax22.output
183 FILEStest_yacc+=        err_syntax22.tab.c
184 FILEStest_yacc+=        err_syntax22.tab.h
185 FILEStest_yacc+=        err_syntax23.error
186 FILEStest_yacc+=        err_syntax23.output
187 FILEStest_yacc+=        err_syntax23.tab.c
188 FILEStest_yacc+=        err_syntax23.tab.h
189 FILEStest_yacc+=        err_syntax24.error
190 FILEStest_yacc+=        err_syntax24.output
191 FILEStest_yacc+=        err_syntax24.tab.c
192 FILEStest_yacc+=        err_syntax24.tab.h
193 FILEStest_yacc+=        err_syntax25.error
194 FILEStest_yacc+=        err_syntax25.output
195 FILEStest_yacc+=        err_syntax25.tab.c
196 FILEStest_yacc+=        err_syntax25.tab.h
197 FILEStest_yacc+=        err_syntax26.error
198 FILEStest_yacc+=        err_syntax26.output
199 FILEStest_yacc+=        err_syntax26.tab.c
200 FILEStest_yacc+=        err_syntax26.tab.h
201 FILEStest_yacc+=        err_syntax27.error
202 FILEStest_yacc+=        err_syntax27.output
203 FILEStest_yacc+=        err_syntax27.tab.c
204 FILEStest_yacc+=        err_syntax27.tab.h
205 FILEStest_yacc+=        err_syntax3.error
206 FILEStest_yacc+=        err_syntax3.output
207 FILEStest_yacc+=        err_syntax3.tab.c
208 FILEStest_yacc+=        err_syntax3.tab.h
209 FILEStest_yacc+=        err_syntax4.error
210 FILEStest_yacc+=        err_syntax4.output
211 FILEStest_yacc+=        err_syntax4.tab.c
212 FILEStest_yacc+=        err_syntax4.tab.h
213 FILEStest_yacc+=        err_syntax5.error
214 FILEStest_yacc+=        err_syntax5.output
215 FILEStest_yacc+=        err_syntax5.tab.c
216 FILEStest_yacc+=        err_syntax5.tab.h
217 FILEStest_yacc+=        err_syntax6.error
218 FILEStest_yacc+=        err_syntax6.output
219 FILEStest_yacc+=        err_syntax6.tab.c
220 FILEStest_yacc+=        err_syntax6.tab.h
221 FILEStest_yacc+=        err_syntax7.error
222 FILEStest_yacc+=        err_syntax7.output
223 FILEStest_yacc+=        err_syntax7.tab.c
224 FILEStest_yacc+=        err_syntax7.tab.h
225 FILEStest_yacc+=        err_syntax7a.error
226 FILEStest_yacc+=        err_syntax7a.output
227 FILEStest_yacc+=        err_syntax7a.tab.c
228 FILEStest_yacc+=        err_syntax7a.tab.h
229 FILEStest_yacc+=        err_syntax7b.error
230 FILEStest_yacc+=        err_syntax7b.output
231 FILEStest_yacc+=        err_syntax7b.tab.c
232 FILEStest_yacc+=        err_syntax7b.tab.h
233 FILEStest_yacc+=        err_syntax8.error
234 FILEStest_yacc+=        err_syntax8.output
235 FILEStest_yacc+=        err_syntax8.tab.c
236 FILEStest_yacc+=        err_syntax8.tab.h
237 FILEStest_yacc+=        err_syntax8a.error
238 FILEStest_yacc+=        err_syntax8a.output
239 FILEStest_yacc+=        err_syntax8a.tab.c
240 FILEStest_yacc+=        err_syntax8a.tab.h
241 FILEStest_yacc+=        err_syntax9.error
242 FILEStest_yacc+=        err_syntax9.output
243 FILEStest_yacc+=        err_syntax9.tab.c
244 FILEStest_yacc+=        err_syntax9.tab.h
245 FILEStest_yacc+=        error.error
246 FILEStest_yacc+=        error.output
247 FILEStest_yacc+=        error.tab.c
248 FILEStest_yacc+=        error.tab.h
249 FILEStest_yacc+=        expr.oxout.error
250 FILEStest_yacc+=        expr.oxout.output
251 FILEStest_yacc+=        expr.oxout.tab.c
252 FILEStest_yacc+=        expr.oxout.tab.h
253 FILEStest_yacc+=        grammar.dot
254 FILEStest_yacc+=        grammar.error
255 FILEStest_yacc+=        grammar.output
256 FILEStest_yacc+=        grammar.tab.c
257 FILEStest_yacc+=        grammar.tab.h
258 FILEStest_yacc+=        help.error
259 FILEStest_yacc+=        help.output
260 FILEStest_yacc+=        no_b_opt.error
261 FILEStest_yacc+=        no_b_opt.output
262 FILEStest_yacc+=        no_b_opt1.error
263 FILEStest_yacc+=        no_b_opt1.output
264 FILEStest_yacc+=        no_code_c.error
265 FILEStest_yacc+=        no_code_c.output
266 FILEStest_yacc+=        no_defines.error
267 FILEStest_yacc+=        no_defines.output
268 FILEStest_yacc+=        no_graph.error
269 FILEStest_yacc+=        no_graph.output
270 FILEStest_yacc+=        no_include.error
271 FILEStest_yacc+=        no_include.output
272 FILEStest_yacc+=        no_opts.error
273 FILEStest_yacc+=        no_opts.output
274 FILEStest_yacc+=        no_output.error
275 FILEStest_yacc+=        no_output.output
276 FILEStest_yacc+=        no_output1.error
277 FILEStest_yacc+=        no_output1.output
278 FILEStest_yacc+=        no_output2.error
279 FILEStest_yacc+=        no_output2.output
280 FILEStest_yacc+=        no_p_opt.error
281 FILEStest_yacc+=        no_p_opt.output
282 FILEStest_yacc+=        no_p_opt1.error
283 FILEStest_yacc+=        no_p_opt1.output
284 FILEStest_yacc+=        no_verbose.error
285 FILEStest_yacc+=        no_verbose.output
286 FILEStest_yacc+=        nostdin.error
287 FILEStest_yacc+=        nostdin.output
288 FILEStest_yacc+=        ok_syntax1.error
289 FILEStest_yacc+=        ok_syntax1.output
290 FILEStest_yacc+=        ok_syntax1.tab.c
291 FILEStest_yacc+=        ok_syntax1.tab.h
292 FILEStest_yacc+=        pure_calc.error
293 FILEStest_yacc+=        pure_calc.output
294 FILEStest_yacc+=        pure_calc.tab.c
295 FILEStest_yacc+=        pure_calc.tab.h
296 FILEStest_yacc+=        pure_error.error
297 FILEStest_yacc+=        pure_error.output
298 FILEStest_yacc+=        pure_error.tab.c
299 FILEStest_yacc+=        pure_error.tab.h
300 FILEStest_yacc+=        quote_calc-s.error
301 FILEStest_yacc+=        quote_calc-s.output
302 FILEStest_yacc+=        quote_calc-s.tab.c
303 FILEStest_yacc+=        quote_calc-s.tab.h
304 FILEStest_yacc+=        quote_calc.error
305 FILEStest_yacc+=        quote_calc.output
306 FILEStest_yacc+=        quote_calc.tab.c
307 FILEStest_yacc+=        quote_calc.tab.h
308 FILEStest_yacc+=        quote_calc2-s.error
309 FILEStest_yacc+=        quote_calc2-s.output
310 FILEStest_yacc+=        quote_calc2-s.tab.c
311 FILEStest_yacc+=        quote_calc2-s.tab.h
312 FILEStest_yacc+=        quote_calc2.error
313 FILEStest_yacc+=        quote_calc2.output
314 FILEStest_yacc+=        quote_calc2.tab.c
315 FILEStest_yacc+=        quote_calc2.tab.h
316 FILEStest_yacc+=        quote_calc3-s.error
317 FILEStest_yacc+=        quote_calc3-s.output
318 FILEStest_yacc+=        quote_calc3-s.tab.c
319 FILEStest_yacc+=        quote_calc3-s.tab.h
320 FILEStest_yacc+=        quote_calc3.error
321 FILEStest_yacc+=        quote_calc3.output
322 FILEStest_yacc+=        quote_calc3.tab.c
323 FILEStest_yacc+=        quote_calc3.tab.h
324 FILEStest_yacc+=        quote_calc4-s.error
325 FILEStest_yacc+=        quote_calc4-s.output
326 FILEStest_yacc+=        quote_calc4-s.tab.c
327 FILEStest_yacc+=        quote_calc4-s.tab.h
328 FILEStest_yacc+=        quote_calc4.error
329 FILEStest_yacc+=        quote_calc4.output
330 FILEStest_yacc+=        quote_calc4.tab.c
331 FILEStest_yacc+=        quote_calc4.tab.h
332 FILEStest_yacc+=        rename_debug.c
333 FILEStest_yacc+=        rename_debug.error
334 FILEStest_yacc+=        rename_debug.h
335 FILEStest_yacc+=        rename_debug.i
336 FILEStest_yacc+=        rename_debug.output
337 FILEStest_yacc+=        varsyntax_calc1.error
338 FILEStest_yacc+=        varsyntax_calc1.output
339 FILEStest_yacc+=        varsyntax_calc1.tab.c
340 FILEStest_yacc+=        varsyntax_calc1.tab.h
341
342 .include <bsd.test.mk>