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