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