Makefile revision 272973
1235723Sbapt# $FreeBSD: stable/10/usr.bin/yacc/tests/Makefile 272973 2014-10-11 23:31:44Z rodrigc $ 2235723Sbapt 3272953Srodrigc.include <bsd.own.mk> 4272953Srodrigc 5272953SrodrigcTEST_DIR= ${.CURDIR}/../../../contrib/byacc/test 6272953Srodrigc 7272953Srodrigc.PATH: ${TEST_DIR} ${TEST_DIR}/yacc 8272953Srodrigc 9263227SjmmvTESTSDIR= ${TESTSBASE}/usr.bin/yacc 10263227Sjmmv 11272953SrodrigcPLAIN_TESTS_SH= yacc_tests 12272973Srodrigc# NOTE: due to caveats with how permissions are handled on FreeBSD 13272973Srodrigc# with root, this must be run as a non-privileged user; otherwise 14272973Srodrigc# the testcases will fail unexpectedly. 15272973SrodrigcTEST_METADATA.yacc_tests+= required_user="unprivileged" 16263227Sjmmv 17272953SrodrigcSCRIPTS= run_test 18272953SrodrigcSCRIPTSDIR= ${TESTSDIR} 19263227Sjmmv 20272973SrodrigcFILESGROUPS= FILES FILEStest FILEStest_yacc 21272953Srodrigc 22272953SrodrigcFILEStestDIR= ${TESTSDIR} 23272953Srodrigc 24272953SrodrigcFILEStest+= btyacc_calc1.y 25272953SrodrigcFILEStest+= btyacc_demo.y 26272953SrodrigcFILEStest+= calc.y 27272953SrodrigcFILEStest+= calc1.y 28272953SrodrigcFILEStest+= calc2.y 29272953SrodrigcFILEStest+= calc3.y 30272953SrodrigcFILEStest+= code_calc.y 31272953SrodrigcFILEStest+= code_debug.y 32272953SrodrigcFILEStest+= code_error.y 33272953SrodrigcFILEStest+= empty.y 34272953SrodrigcFILEStest+= err_inherit1.y 35272953SrodrigcFILEStest+= err_inherit2.y 36272953SrodrigcFILEStest+= err_inherit3.y 37272953SrodrigcFILEStest+= err_inherit4.y 38272953SrodrigcFILEStest+= err_inherit5.y 39272953SrodrigcFILEStest+= err_syntax1.y 40272953SrodrigcFILEStest+= err_syntax10.y 41272953SrodrigcFILEStest+= err_syntax11.y 42272953SrodrigcFILEStest+= err_syntax12.y 43272953SrodrigcFILEStest+= err_syntax13.y 44272953SrodrigcFILEStest+= err_syntax14.y 45272953SrodrigcFILEStest+= err_syntax15.y 46272953SrodrigcFILEStest+= err_syntax16.y 47272953SrodrigcFILEStest+= err_syntax17.y 48272953SrodrigcFILEStest+= err_syntax18.y 49272953SrodrigcFILEStest+= err_syntax19.y 50272953SrodrigcFILEStest+= err_syntax2.y 51272953SrodrigcFILEStest+= err_syntax20.y 52272953SrodrigcFILEStest+= err_syntax21.y 53272953SrodrigcFILEStest+= err_syntax22.y 54272953SrodrigcFILEStest+= err_syntax23.y 55272953SrodrigcFILEStest+= err_syntax24.y 56272953SrodrigcFILEStest+= err_syntax25.y 57272953SrodrigcFILEStest+= err_syntax26.y 58272953SrodrigcFILEStest+= err_syntax27.y 59272953SrodrigcFILEStest+= err_syntax3.y 60272953SrodrigcFILEStest+= err_syntax4.y 61272953SrodrigcFILEStest+= err_syntax5.y 62272953SrodrigcFILEStest+= err_syntax6.y 63272953SrodrigcFILEStest+= err_syntax7.y 64272953SrodrigcFILEStest+= err_syntax7a.y 65272953SrodrigcFILEStest+= err_syntax7b.y 66272953SrodrigcFILEStest+= err_syntax8.y 67272953SrodrigcFILEStest+= err_syntax8a.y 68272953SrodrigcFILEStest+= err_syntax9.y 69272953SrodrigcFILEStest+= error.y 70272953SrodrigcFILEStest+= grammar.y 71272953SrodrigcFILEStest+= inherit0.y 72272953SrodrigcFILEStest+= inherit1.y 73272953SrodrigcFILEStest+= inherit2.y 74272953SrodrigcFILEStest+= ok_syntax1.y 75272953SrodrigcFILEStest+= pure_calc.y 76272953SrodrigcFILEStest+= pure_error.y 77272953SrodrigcFILEStest+= quote_calc.y 78272953SrodrigcFILEStest+= quote_calc2.y 79272953SrodrigcFILEStest+= quote_calc3.y 80272953SrodrigcFILEStest+= quote_calc4.y 81272953SrodrigcFILEStest+= varsyntax_calc1.y 82272953Srodrigc 83272953SrodrigcFILEStest_yaccDIR= ${TESTSDIR}/yacc 84272953Srodrigc 85272953SrodrigcFILEStest_yacc+= big_b.error 86272953SrodrigcFILEStest_yacc+= big_b.output 87272953SrodrigcFILEStest_yacc+= big_l.error 88272953SrodrigcFILEStest_yacc+= big_l.output 89272953SrodrigcFILEStest_yacc+= calc.error 90272953SrodrigcFILEStest_yacc+= calc.output 91272953SrodrigcFILEStest_yacc+= calc.tab.c 92272953SrodrigcFILEStest_yacc+= calc.tab.h 93272953SrodrigcFILEStest_yacc+= calc1.error 94272953SrodrigcFILEStest_yacc+= calc1.output 95272953SrodrigcFILEStest_yacc+= calc1.tab.c 96272953SrodrigcFILEStest_yacc+= calc1.tab.h 97272953SrodrigcFILEStest_yacc+= calc2.error 98272953SrodrigcFILEStest_yacc+= calc2.output 99272953SrodrigcFILEStest_yacc+= calc2.tab.c 100272953SrodrigcFILEStest_yacc+= calc2.tab.h 101272953SrodrigcFILEStest_yacc+= calc3.error 102272953SrodrigcFILEStest_yacc+= calc3.output 103272953SrodrigcFILEStest_yacc+= calc3.tab.c 104272953SrodrigcFILEStest_yacc+= calc3.tab.h 105272953SrodrigcFILEStest_yacc+= code_calc.code.c 106272953SrodrigcFILEStest_yacc+= code_calc.error 107272953SrodrigcFILEStest_yacc+= code_calc.output 108272953SrodrigcFILEStest_yacc+= code_calc.tab.c 109272953SrodrigcFILEStest_yacc+= code_calc.tab.h 110272953SrodrigcFILEStest_yacc+= code_error.code.c 111272953SrodrigcFILEStest_yacc+= code_error.error 112272953SrodrigcFILEStest_yacc+= code_error.output 113272953SrodrigcFILEStest_yacc+= code_error.tab.c 114272953SrodrigcFILEStest_yacc+= code_error.tab.h 115272953SrodrigcFILEStest_yacc+= empty.error 116272953SrodrigcFILEStest_yacc+= empty.output 117272953SrodrigcFILEStest_yacc+= empty.tab.c 118272953SrodrigcFILEStest_yacc+= empty.tab.h 119272953SrodrigcFILEStest_yacc+= err_syntax1.error 120272953SrodrigcFILEStest_yacc+= err_syntax1.output 121272953SrodrigcFILEStest_yacc+= err_syntax1.tab.c 122272953SrodrigcFILEStest_yacc+= err_syntax1.tab.h 123272953SrodrigcFILEStest_yacc+= err_syntax10.error 124272953SrodrigcFILEStest_yacc+= err_syntax10.output 125272953SrodrigcFILEStest_yacc+= err_syntax10.tab.c 126272953SrodrigcFILEStest_yacc+= err_syntax10.tab.h 127272953SrodrigcFILEStest_yacc+= err_syntax11.error 128272953SrodrigcFILEStest_yacc+= err_syntax11.output 129272953SrodrigcFILEStest_yacc+= err_syntax11.tab.c 130272953SrodrigcFILEStest_yacc+= err_syntax11.tab.h 131272953SrodrigcFILEStest_yacc+= err_syntax12.error 132272953SrodrigcFILEStest_yacc+= err_syntax12.output 133272953SrodrigcFILEStest_yacc+= err_syntax12.tab.c 134272953SrodrigcFILEStest_yacc+= err_syntax12.tab.h 135272953SrodrigcFILEStest_yacc+= err_syntax13.error 136272953SrodrigcFILEStest_yacc+= err_syntax13.output 137272953SrodrigcFILEStest_yacc+= err_syntax13.tab.c 138272953SrodrigcFILEStest_yacc+= err_syntax13.tab.h 139272953SrodrigcFILEStest_yacc+= err_syntax14.error 140272953SrodrigcFILEStest_yacc+= err_syntax14.output 141272953SrodrigcFILEStest_yacc+= err_syntax14.tab.c 142272953SrodrigcFILEStest_yacc+= err_syntax14.tab.h 143272953SrodrigcFILEStest_yacc+= err_syntax15.error 144272953SrodrigcFILEStest_yacc+= err_syntax15.output 145272953SrodrigcFILEStest_yacc+= err_syntax15.tab.c 146272953SrodrigcFILEStest_yacc+= err_syntax15.tab.h 147272953SrodrigcFILEStest_yacc+= err_syntax16.error 148272953SrodrigcFILEStest_yacc+= err_syntax16.output 149272953SrodrigcFILEStest_yacc+= err_syntax16.tab.c 150272953SrodrigcFILEStest_yacc+= err_syntax16.tab.h 151272953SrodrigcFILEStest_yacc+= err_syntax17.error 152272953SrodrigcFILEStest_yacc+= err_syntax17.output 153272953SrodrigcFILEStest_yacc+= err_syntax17.tab.c 154272953SrodrigcFILEStest_yacc+= err_syntax17.tab.h 155272953SrodrigcFILEStest_yacc+= err_syntax18.error 156272953SrodrigcFILEStest_yacc+= err_syntax18.output 157272953SrodrigcFILEStest_yacc+= err_syntax18.tab.c 158272953SrodrigcFILEStest_yacc+= err_syntax18.tab.h 159272953SrodrigcFILEStest_yacc+= err_syntax19.error 160272953SrodrigcFILEStest_yacc+= err_syntax19.output 161272953SrodrigcFILEStest_yacc+= err_syntax19.tab.c 162272953SrodrigcFILEStest_yacc+= err_syntax19.tab.h 163272953SrodrigcFILEStest_yacc+= err_syntax2.error 164272953SrodrigcFILEStest_yacc+= err_syntax2.output 165272953SrodrigcFILEStest_yacc+= err_syntax2.tab.c 166272953SrodrigcFILEStest_yacc+= err_syntax2.tab.h 167272953SrodrigcFILEStest_yacc+= err_syntax20.error 168272953SrodrigcFILEStest_yacc+= err_syntax20.output 169272953SrodrigcFILEStest_yacc+= err_syntax20.tab.c 170272953SrodrigcFILEStest_yacc+= err_syntax20.tab.h 171272953SrodrigcFILEStest_yacc+= err_syntax21.error 172272953SrodrigcFILEStest_yacc+= err_syntax21.output 173272953SrodrigcFILEStest_yacc+= err_syntax21.tab.c 174272953SrodrigcFILEStest_yacc+= err_syntax21.tab.h 175272953SrodrigcFILEStest_yacc+= err_syntax22.error 176272953SrodrigcFILEStest_yacc+= err_syntax22.output 177272953SrodrigcFILEStest_yacc+= err_syntax22.tab.c 178272953SrodrigcFILEStest_yacc+= err_syntax22.tab.h 179272953SrodrigcFILEStest_yacc+= err_syntax23.error 180272953SrodrigcFILEStest_yacc+= err_syntax23.output 181272953SrodrigcFILEStest_yacc+= err_syntax23.tab.c 182272953SrodrigcFILEStest_yacc+= err_syntax23.tab.h 183272953SrodrigcFILEStest_yacc+= err_syntax24.error 184272953SrodrigcFILEStest_yacc+= err_syntax24.output 185272953SrodrigcFILEStest_yacc+= err_syntax24.tab.c 186272953SrodrigcFILEStest_yacc+= err_syntax24.tab.h 187272953SrodrigcFILEStest_yacc+= err_syntax25.error 188272953SrodrigcFILEStest_yacc+= err_syntax25.output 189272953SrodrigcFILEStest_yacc+= err_syntax25.tab.c 190272953SrodrigcFILEStest_yacc+= err_syntax25.tab.h 191272953SrodrigcFILEStest_yacc+= err_syntax26.error 192272953SrodrigcFILEStest_yacc+= err_syntax26.output 193272953SrodrigcFILEStest_yacc+= err_syntax26.tab.c 194272953SrodrigcFILEStest_yacc+= err_syntax26.tab.h 195272953SrodrigcFILEStest_yacc+= err_syntax27.error 196272953SrodrigcFILEStest_yacc+= err_syntax27.output 197272953SrodrigcFILEStest_yacc+= err_syntax27.tab.c 198272953SrodrigcFILEStest_yacc+= err_syntax27.tab.h 199272953SrodrigcFILEStest_yacc+= err_syntax3.error 200272953SrodrigcFILEStest_yacc+= err_syntax3.output 201272953SrodrigcFILEStest_yacc+= err_syntax3.tab.c 202272953SrodrigcFILEStest_yacc+= err_syntax3.tab.h 203272953SrodrigcFILEStest_yacc+= err_syntax4.error 204272953SrodrigcFILEStest_yacc+= err_syntax4.output 205272953SrodrigcFILEStest_yacc+= err_syntax4.tab.c 206272953SrodrigcFILEStest_yacc+= err_syntax4.tab.h 207272953SrodrigcFILEStest_yacc+= err_syntax5.error 208272953SrodrigcFILEStest_yacc+= err_syntax5.output 209272953SrodrigcFILEStest_yacc+= err_syntax5.tab.c 210272953SrodrigcFILEStest_yacc+= err_syntax5.tab.h 211272953SrodrigcFILEStest_yacc+= err_syntax6.error 212272953SrodrigcFILEStest_yacc+= err_syntax6.output 213272953SrodrigcFILEStest_yacc+= err_syntax6.tab.c 214272953SrodrigcFILEStest_yacc+= err_syntax6.tab.h 215272953SrodrigcFILEStest_yacc+= err_syntax7.error 216272953SrodrigcFILEStest_yacc+= err_syntax7.output 217272953SrodrigcFILEStest_yacc+= err_syntax7.tab.c 218272953SrodrigcFILEStest_yacc+= err_syntax7.tab.h 219272953SrodrigcFILEStest_yacc+= err_syntax7a.error 220272953SrodrigcFILEStest_yacc+= err_syntax7a.output 221272953SrodrigcFILEStest_yacc+= err_syntax7a.tab.c 222272953SrodrigcFILEStest_yacc+= err_syntax7a.tab.h 223272953SrodrigcFILEStest_yacc+= err_syntax7b.error 224272953SrodrigcFILEStest_yacc+= err_syntax7b.output 225272953SrodrigcFILEStest_yacc+= err_syntax7b.tab.c 226272953SrodrigcFILEStest_yacc+= err_syntax7b.tab.h 227272953SrodrigcFILEStest_yacc+= err_syntax8.error 228272953SrodrigcFILEStest_yacc+= err_syntax8.output 229272953SrodrigcFILEStest_yacc+= err_syntax8.tab.c 230272953SrodrigcFILEStest_yacc+= err_syntax8.tab.h 231272953SrodrigcFILEStest_yacc+= err_syntax8a.error 232272953SrodrigcFILEStest_yacc+= err_syntax8a.output 233272953SrodrigcFILEStest_yacc+= err_syntax8a.tab.c 234272953SrodrigcFILEStest_yacc+= err_syntax8a.tab.h 235272953SrodrigcFILEStest_yacc+= err_syntax9.error 236272953SrodrigcFILEStest_yacc+= err_syntax9.output 237272953SrodrigcFILEStest_yacc+= err_syntax9.tab.c 238272953SrodrigcFILEStest_yacc+= err_syntax9.tab.h 239272953SrodrigcFILEStest_yacc+= error.error 240272953SrodrigcFILEStest_yacc+= error.output 241272953SrodrigcFILEStest_yacc+= error.tab.c 242272953SrodrigcFILEStest_yacc+= error.tab.h 243272953SrodrigcFILEStest_yacc+= grammar.dot 244272953SrodrigcFILEStest_yacc+= grammar.error 245272953SrodrigcFILEStest_yacc+= grammar.output 246272953SrodrigcFILEStest_yacc+= grammar.tab.c 247272953SrodrigcFILEStest_yacc+= grammar.tab.h 248272953SrodrigcFILEStest_yacc+= help.error 249272953SrodrigcFILEStest_yacc+= help.output 250272953SrodrigcFILEStest_yacc+= no_b_opt.error 251272953SrodrigcFILEStest_yacc+= no_b_opt.output 252272973SrodrigcFILEStest_yacc+= no_b_opt1.error 253272973SrodrigcFILEStest_yacc+= no_b_opt1.output 254272973SrodrigcFILEStest_yacc+= no_code_c.error 255272973SrodrigcFILEStest_yacc+= no_code_c.output 256272973SrodrigcFILEStest_yacc+= no_defines.error 257272973SrodrigcFILEStest_yacc+= no_defines.output 258272973SrodrigcFILEStest_yacc+= no_graph.error 259272973SrodrigcFILEStest_yacc+= no_graph.output 260272973SrodrigcFILEStest_yacc+= no_include.error 261272973SrodrigcFILEStest_yacc+= no_include.output 262272953SrodrigcFILEStest_yacc+= no_opts.error 263272953SrodrigcFILEStest_yacc+= no_opts.output 264272973SrodrigcFILEStest_yacc+= no_output.error 265272973SrodrigcFILEStest_yacc+= no_output.output 266272973SrodrigcFILEStest_yacc+= no_output1.error 267272973SrodrigcFILEStest_yacc+= no_output1.output 268272953SrodrigcFILEStest_yacc+= no_output2.error 269272953SrodrigcFILEStest_yacc+= no_output2.output 270272953SrodrigcFILEStest_yacc+= no_p_opt.error 271272953SrodrigcFILEStest_yacc+= no_p_opt.output 272272973SrodrigcFILEStest_yacc+= no_p_opt1.error 273272973SrodrigcFILEStest_yacc+= no_p_opt1.output 274272973SrodrigcFILEStest_yacc+= no_verbose.error 275272973SrodrigcFILEStest_yacc+= no_verbose.output 276272953SrodrigcFILEStest_yacc+= nostdin.error 277272953SrodrigcFILEStest_yacc+= nostdin.output 278272953SrodrigcFILEStest_yacc+= ok_syntax1.error 279272953SrodrigcFILEStest_yacc+= ok_syntax1.output 280272953SrodrigcFILEStest_yacc+= ok_syntax1.tab.c 281272953SrodrigcFILEStest_yacc+= ok_syntax1.tab.h 282272953SrodrigcFILEStest_yacc+= pure_calc.error 283272953SrodrigcFILEStest_yacc+= pure_calc.output 284272953SrodrigcFILEStest_yacc+= pure_calc.tab.c 285272953SrodrigcFILEStest_yacc+= pure_calc.tab.h 286272953SrodrigcFILEStest_yacc+= pure_error.error 287272953SrodrigcFILEStest_yacc+= pure_error.output 288272953SrodrigcFILEStest_yacc+= pure_error.tab.c 289272953SrodrigcFILEStest_yacc+= pure_error.tab.h 290272953SrodrigcFILEStest_yacc+= quote_calc-s.error 291272953SrodrigcFILEStest_yacc+= quote_calc-s.output 292272953SrodrigcFILEStest_yacc+= quote_calc-s.tab.c 293272953SrodrigcFILEStest_yacc+= quote_calc-s.tab.h 294272953SrodrigcFILEStest_yacc+= quote_calc.error 295272953SrodrigcFILEStest_yacc+= quote_calc.output 296272953SrodrigcFILEStest_yacc+= quote_calc.tab.c 297272953SrodrigcFILEStest_yacc+= quote_calc.tab.h 298272953SrodrigcFILEStest_yacc+= quote_calc2-s.error 299272953SrodrigcFILEStest_yacc+= quote_calc2-s.output 300272953SrodrigcFILEStest_yacc+= quote_calc2-s.tab.c 301272953SrodrigcFILEStest_yacc+= quote_calc2-s.tab.h 302272953SrodrigcFILEStest_yacc+= quote_calc2.error 303272953SrodrigcFILEStest_yacc+= quote_calc2.output 304272953SrodrigcFILEStest_yacc+= quote_calc2.tab.c 305272953SrodrigcFILEStest_yacc+= quote_calc2.tab.h 306272953SrodrigcFILEStest_yacc+= quote_calc3-s.error 307272953SrodrigcFILEStest_yacc+= quote_calc3-s.output 308272953SrodrigcFILEStest_yacc+= quote_calc3-s.tab.c 309272953SrodrigcFILEStest_yacc+= quote_calc3-s.tab.h 310272953SrodrigcFILEStest_yacc+= quote_calc3.error 311272953SrodrigcFILEStest_yacc+= quote_calc3.output 312272953SrodrigcFILEStest_yacc+= quote_calc3.tab.c 313272953SrodrigcFILEStest_yacc+= quote_calc3.tab.h 314272953SrodrigcFILEStest_yacc+= quote_calc4-s.error 315272953SrodrigcFILEStest_yacc+= quote_calc4-s.output 316272953SrodrigcFILEStest_yacc+= quote_calc4-s.tab.c 317272953SrodrigcFILEStest_yacc+= quote_calc4-s.tab.h 318272953SrodrigcFILEStest_yacc+= quote_calc4.error 319272953SrodrigcFILEStest_yacc+= quote_calc4.output 320272953SrodrigcFILEStest_yacc+= quote_calc4.tab.c 321272953SrodrigcFILEStest_yacc+= quote_calc4.tab.h 322272953SrodrigcFILEStest_yacc+= rename_debug.c 323272953SrodrigcFILEStest_yacc+= rename_debug.error 324272953SrodrigcFILEStest_yacc+= rename_debug.h 325272953SrodrigcFILEStest_yacc+= rename_debug.i 326272953SrodrigcFILEStest_yacc+= rename_debug.output 327272953SrodrigcFILEStest_yacc+= varsyntax_calc1.error 328272953SrodrigcFILEStest_yacc+= varsyntax_calc1.output 329272953SrodrigcFILEStest_yacc+= varsyntax_calc1.tab.c 330272953SrodrigcFILEStest_yacc+= varsyntax_calc1.tab.h 331272953Srodrigc 332263227Sjmmv.include <bsd.test.mk> 333