Makefile revision 268811
1164426Ssam# $FreeBSD: head/usr.bin/yacc/tests/Makefile 268811 2014-07-17 22:22:38Z bapt $ 2164426Ssam 3164426Ssam.include <bsd.own.mk> 4164426Ssam 5164426SsamTEST_DIR= ${.CURDIR}/../../../contrib/byacc/test 6164426Ssam 7164426Ssam.PATH: ${TEST_DIR} ${TEST_DIR}/yacc 8164426Ssam 9164426SsamTESTSDIR= ${TESTSBASE}/usr.bin/yacc 10164426Ssam 11164426SsamPLAIN_TESTS_SH= yacc_tests 12164426Ssam 13164426SsamSCRIPTS= run_test 14164426SsamSCRIPTSDIR= ${TESTSDIR} 15164426Ssam 16164426SsamFILESGROUPS= FILEStest FILEStest_yacc 17164426Ssam 18164426SsamFILEStestDIR= ${TESTSDIR} 19164426Ssam 20164426SsamFILEStest+= btyacc_calc1.y 21164426SsamFILEStest+= btyacc_demo.y 22164426SsamFILEStest+= calc.y 23164426SsamFILEStest+= calc1.y 24164426SsamFILEStest+= calc2.y 25164426SsamFILEStest+= calc3.y 26164426SsamFILEStest+= code_calc.y 27164426SsamFILEStest+= code_debug.y 28164426SsamFILEStest+= code_error.y 29164426SsamFILEStest+= empty.y 30164426SsamFILEStest+= err_inherit1.y 31164426SsamFILEStest+= err_inherit2.y 32164426SsamFILEStest+= err_inherit3.y 33164426SsamFILEStest+= err_inherit4.y 34164426SsamFILEStest+= err_inherit5.y 35164426SsamFILEStest+= err_syntax1.y 36164426SsamFILEStest+= err_syntax10.y 37164426SsamFILEStest+= err_syntax11.y 38164426SsamFILEStest+= err_syntax12.y 39164426SsamFILEStest+= err_syntax13.y 40164426SsamFILEStest+= err_syntax14.y 41164426SsamFILEStest+= err_syntax15.y 42164426SsamFILEStest+= err_syntax16.y 43164426SsamFILEStest+= err_syntax17.y 44164426SsamFILEStest+= err_syntax18.y 45164426SsamFILEStest+= err_syntax19.y 46164426SsamFILEStest+= err_syntax2.y 47164426SsamFILEStest+= err_syntax20.y 48164426SsamFILEStest+= err_syntax21.y 49164426SsamFILEStest+= err_syntax22.y 50164426SsamFILEStest+= err_syntax23.y 51164426SsamFILEStest+= err_syntax24.y 52164426SsamFILEStest+= err_syntax25.y 53164426SsamFILEStest+= err_syntax26.y 54164426SsamFILEStest+= err_syntax27.y 55164426SsamFILEStest+= err_syntax3.y 56164426SsamFILEStest+= err_syntax4.y 57164426SsamFILEStest+= err_syntax5.y 58164426SsamFILEStest+= err_syntax6.y 59164426SsamFILEStest+= err_syntax7.y 60164426SsamFILEStest+= err_syntax7a.y 61166901SpisoFILEStest+= err_syntax7b.y 62164426SsamFILEStest+= err_syntax8.y 63164426SsamFILEStest+= err_syntax8a.y 64164426SsamFILEStest+= err_syntax9.y 65164426SsamFILEStest+= error.y 66164426SsamFILEStest+= grammar.y 67164426SsamFILEStest+= inherit0.y 68164426SsamFILEStest+= inherit1.y 69164426SsamFILEStest+= inherit2.y 70164426SsamFILEStest+= ok_syntax1.y 71164426SsamFILEStest+= pure_calc.y 72164426SsamFILEStest+= pure_error.y 73164426SsamFILEStest+= quote_calc.y 74164426SsamFILEStest+= quote_calc2.y 75164426SsamFILEStest+= quote_calc3.y 76164426SsamFILEStest+= quote_calc4.y 77164426SsamFILEStest+= varsyntax_calc1.y 78164426Ssam 79164426SsamFILEStest_yaccDIR= ${TESTSDIR}/yacc 80164426Ssam 81164426SsamFILEStest_yacc+= big_b.error 82164426SsamFILEStest_yacc+= big_b.output 83164426SsamFILEStest_yacc+= big_l.error 84164426SsamFILEStest_yacc+= big_l.output 85164426SsamFILEStest_yacc+= calc.error 86164426SsamFILEStest_yacc+= calc.output 87164426SsamFILEStest_yacc+= calc.tab.c 88164426SsamFILEStest_yacc+= calc.tab.h 89164426SsamFILEStest_yacc+= calc1.error 90164426SsamFILEStest_yacc+= calc1.output 91164426SsamFILEStest_yacc+= calc1.tab.c 92164426SsamFILEStest_yacc+= calc1.tab.h 93164426SsamFILEStest_yacc+= calc2.error 94164426SsamFILEStest_yacc+= calc2.output 95164426SsamFILEStest_yacc+= calc2.tab.c 96164426SsamFILEStest_yacc+= calc2.tab.h 97164426SsamFILEStest_yacc+= calc3.error 98164426SsamFILEStest_yacc+= calc3.output 99164426SsamFILEStest_yacc+= calc3.tab.c 100164426SsamFILEStest_yacc+= calc3.tab.h 101164426SsamFILEStest_yacc+= code_calc.code.c 102164426SsamFILEStest_yacc+= code_calc.error 103164426SsamFILEStest_yacc+= code_calc.output 104164426SsamFILEStest_yacc+= code_calc.tab.c 105164426SsamFILEStest_yacc+= code_calc.tab.h 106164426SsamFILEStest_yacc+= code_error.code.c 107164426SsamFILEStest_yacc+= code_error.error 108164426SsamFILEStest_yacc+= code_error.output 109164426SsamFILEStest_yacc+= code_error.tab.c 110164426SsamFILEStest_yacc+= code_error.tab.h 111164426SsamFILEStest_yacc+= empty.error 112164426SsamFILEStest_yacc+= empty.output 113164426SsamFILEStest_yacc+= empty.tab.c 114164426SsamFILEStest_yacc+= empty.tab.h 115164426SsamFILEStest_yacc+= err_syntax1.error 116164426SsamFILEStest_yacc+= err_syntax1.output 117164426SsamFILEStest_yacc+= err_syntax1.tab.c 118164426SsamFILEStest_yacc+= err_syntax1.tab.h 119164426SsamFILEStest_yacc+= err_syntax10.error 120164426SsamFILEStest_yacc+= err_syntax10.output 121164426SsamFILEStest_yacc+= err_syntax10.tab.c 122164426SsamFILEStest_yacc+= err_syntax10.tab.h 123164426SsamFILEStest_yacc+= err_syntax11.error 124164426SsamFILEStest_yacc+= err_syntax11.output 125164426SsamFILEStest_yacc+= err_syntax11.tab.c 126164426SsamFILEStest_yacc+= err_syntax11.tab.h 127164426SsamFILEStest_yacc+= err_syntax12.error 128164426SsamFILEStest_yacc+= err_syntax12.output 129164426SsamFILEStest_yacc+= err_syntax12.tab.c 130164426SsamFILEStest_yacc+= err_syntax12.tab.h 131164426SsamFILEStest_yacc+= err_syntax13.error 132164426SsamFILEStest_yacc+= err_syntax13.output 133164426SsamFILEStest_yacc+= err_syntax13.tab.c 134164426SsamFILEStest_yacc+= err_syntax13.tab.h 135164426SsamFILEStest_yacc+= err_syntax14.error 136164426SsamFILEStest_yacc+= err_syntax14.output 137164426SsamFILEStest_yacc+= err_syntax14.tab.c 138164426SsamFILEStest_yacc+= err_syntax14.tab.h 139164426SsamFILEStest_yacc+= err_syntax15.error 140164426SsamFILEStest_yacc+= err_syntax15.output 141164426SsamFILEStest_yacc+= err_syntax15.tab.c 142164426SsamFILEStest_yacc+= err_syntax15.tab.h 143164426SsamFILEStest_yacc+= err_syntax16.error 144164426SsamFILEStest_yacc+= err_syntax16.output 145164426SsamFILEStest_yacc+= err_syntax16.tab.c 146164426SsamFILEStest_yacc+= err_syntax16.tab.h 147164426SsamFILEStest_yacc+= err_syntax17.error 148164426SsamFILEStest_yacc+= err_syntax17.output 149164426SsamFILEStest_yacc+= err_syntax17.tab.c 150164426SsamFILEStest_yacc+= err_syntax17.tab.h 151164426SsamFILEStest_yacc+= err_syntax18.error 152164426SsamFILEStest_yacc+= err_syntax18.output 153164426SsamFILEStest_yacc+= err_syntax18.tab.c 154164426SsamFILEStest_yacc+= err_syntax18.tab.h 155164426SsamFILEStest_yacc+= err_syntax19.error 156164426SsamFILEStest_yacc+= err_syntax19.output 157164426SsamFILEStest_yacc+= err_syntax19.tab.c 158164426SsamFILEStest_yacc+= err_syntax19.tab.h 159164426SsamFILEStest_yacc+= err_syntax2.error 160164426SsamFILEStest_yacc+= err_syntax2.output 161164426SsamFILEStest_yacc+= err_syntax2.tab.c 162164426SsamFILEStest_yacc+= err_syntax2.tab.h 163164426SsamFILEStest_yacc+= err_syntax20.error 164164426SsamFILEStest_yacc+= err_syntax20.output 165164426SsamFILEStest_yacc+= err_syntax20.tab.c 166164426SsamFILEStest_yacc+= err_syntax20.tab.h 167164426SsamFILEStest_yacc+= err_syntax21.error 168164426SsamFILEStest_yacc+= err_syntax21.output 169164426SsamFILEStest_yacc+= err_syntax21.tab.c 170164426SsamFILEStest_yacc+= err_syntax21.tab.h 171164426SsamFILEStest_yacc+= err_syntax22.error 172164426SsamFILEStest_yacc+= err_syntax22.output 173164426SsamFILEStest_yacc+= err_syntax22.tab.c 174164426SsamFILEStest_yacc+= err_syntax22.tab.h 175164426SsamFILEStest_yacc+= err_syntax23.error 176164426SsamFILEStest_yacc+= err_syntax23.output 177164426SsamFILEStest_yacc+= err_syntax23.tab.c 178164426SsamFILEStest_yacc+= err_syntax23.tab.h 179164426SsamFILEStest_yacc+= err_syntax24.error 180164426SsamFILEStest_yacc+= err_syntax24.output 181164426SsamFILEStest_yacc+= err_syntax24.tab.c 182164426SsamFILEStest_yacc+= err_syntax24.tab.h 183164426SsamFILEStest_yacc+= err_syntax25.error 184164426SsamFILEStest_yacc+= err_syntax25.output 185166901SpisoFILEStest_yacc+= err_syntax25.tab.c 186166901SpisoFILEStest_yacc+= err_syntax25.tab.h 187164426SsamFILEStest_yacc+= err_syntax26.error 188164426SsamFILEStest_yacc+= err_syntax26.output 189164426SsamFILEStest_yacc+= err_syntax26.tab.c 190164426SsamFILEStest_yacc+= err_syntax26.tab.h 191164426SsamFILEStest_yacc+= err_syntax27.error 192164426SsamFILEStest_yacc+= err_syntax27.output 193164426SsamFILEStest_yacc+= err_syntax27.tab.c 194164426SsamFILEStest_yacc+= err_syntax27.tab.h 195164426SsamFILEStest_yacc+= err_syntax3.error 196164426SsamFILEStest_yacc+= err_syntax3.output 197164426SsamFILEStest_yacc+= err_syntax3.tab.c 198164426SsamFILEStest_yacc+= err_syntax3.tab.h 199164426SsamFILEStest_yacc+= err_syntax4.error 200164426SsamFILEStest_yacc+= err_syntax4.output 201164426SsamFILEStest_yacc+= err_syntax4.tab.c 202164426SsamFILEStest_yacc+= err_syntax4.tab.h 203164426SsamFILEStest_yacc+= err_syntax5.error 204164426SsamFILEStest_yacc+= err_syntax5.output 205164426SsamFILEStest_yacc+= err_syntax5.tab.c 206164426SsamFILEStest_yacc+= err_syntax5.tab.h 207164426SsamFILEStest_yacc+= err_syntax6.error 208164426SsamFILEStest_yacc+= err_syntax6.output 209164426SsamFILEStest_yacc+= err_syntax6.tab.c 210164426SsamFILEStest_yacc+= err_syntax6.tab.h 211164426SsamFILEStest_yacc+= err_syntax7.error 212164426SsamFILEStest_yacc+= err_syntax7.output 213164426SsamFILEStest_yacc+= err_syntax7.tab.c 214164426SsamFILEStest_yacc+= err_syntax7.tab.h 215164426SsamFILEStest_yacc+= err_syntax7a.error 216164426SsamFILEStest_yacc+= err_syntax7a.output 217164426SsamFILEStest_yacc+= err_syntax7a.tab.c 218164426SsamFILEStest_yacc+= err_syntax7a.tab.h 219164426SsamFILEStest_yacc+= err_syntax7b.error 220164426SsamFILEStest_yacc+= err_syntax7b.output 221164426SsamFILEStest_yacc+= err_syntax7b.tab.c 222164426SsamFILEStest_yacc+= err_syntax7b.tab.h 223164426SsamFILEStest_yacc+= err_syntax8.error 224164426SsamFILEStest_yacc+= err_syntax8.output 225164426SsamFILEStest_yacc+= err_syntax8.tab.c 226164426SsamFILEStest_yacc+= err_syntax8.tab.h 227164426SsamFILEStest_yacc+= err_syntax8a.error 228164426SsamFILEStest_yacc+= err_syntax8a.output 229164426SsamFILEStest_yacc+= err_syntax8a.tab.c 230164426SsamFILEStest_yacc+= err_syntax8a.tab.h 231164426SsamFILEStest_yacc+= err_syntax9.error 232164426SsamFILEStest_yacc+= err_syntax9.output 233164426SsamFILEStest_yacc+= err_syntax9.tab.c 234164426SsamFILEStest_yacc+= err_syntax9.tab.h 235164426SsamFILEStest_yacc+= error.error 236164426SsamFILEStest_yacc+= error.output 237164426SsamFILEStest_yacc+= error.tab.c 238164426SsamFILEStest_yacc+= error.tab.h 239164426SsamFILEStest_yacc+= grammar.dot 240164426SsamFILEStest_yacc+= grammar.error 241164426SsamFILEStest_yacc+= grammar.output 242164426SsamFILEStest_yacc+= grammar.tab.c 243164426SsamFILEStest_yacc+= grammar.tab.h 244164426SsamFILEStest_yacc+= help.error 245164426SsamFILEStest_yacc+= help.output 246164426SsamFILEStest_yacc+= no_b_opt.error 247166901SpisoFILEStest_yacc+= no_b_opt.output 248164426Ssam# XXX: expected: `f - cannot open "nosuchfile.c"; gets 249164426Ssam# `e - line 0 of "nosuchfile.y", unexpected end-of-file`. 250164426Ssam#FILEStest_yacc+= no_b_opt1.error 251164426Ssam#FILEStest_yacc+= no_b_opt1.output 252164426Ssam#FILEStest_yacc+= no_code_c.error 253164426Ssam#FILEStest_yacc+= no_code_c.output 254164426Ssam#FILEStest_yacc+= no_defines.error 255164426Ssam#FILEStest_yacc+= no_defines.output 256164426Ssam#FILEStest_yacc+= no_graph.error 257166901Spiso#FILEStest_yacc+= no_graph.output 258164426Ssam#FILEStest_yacc+= no_include.error 259164426Ssam#FILEStest_yacc+= no_include.output 260164426SsamFILEStest_yacc+= no_opts.error 261164426SsamFILEStest_yacc+= no_opts.output 262164426Ssam# XXX: expected: `f - cannot open "nosuchfile.c"; gets 263164426Ssam# `e - line 0 of "nosuchfile.y", unexpected end-of-file`. 264164426Ssam#FILEStest_yacc+= no_output.error 265164426Ssam#FILEStest_yacc+= no_output.output 266164426Ssam#FILEStest_yacc+= no_output1.error 267164426Ssam#FILEStest_yacc+= no_output1.output 268164426SsamFILEStest_yacc+= no_output2.error 269FILEStest_yacc+= no_output2.output 270FILEStest_yacc+= no_p_opt.error 271FILEStest_yacc+= no_p_opt.output 272# XXX: expected: `f - cannot open "nosuchfile.c"; gets 273# `e - line 0 of "nosuchfile.y", unexpected end-of-file`. 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 278FILEStest_yacc+= nostdin.error 279FILEStest_yacc+= nostdin.output 280FILEStest_yacc+= ok_syntax1.error 281FILEStest_yacc+= ok_syntax1.output 282FILEStest_yacc+= ok_syntax1.tab.c 283FILEStest_yacc+= ok_syntax1.tab.h 284FILEStest_yacc+= pure_calc.error 285FILEStest_yacc+= pure_calc.output 286FILEStest_yacc+= pure_calc.tab.c 287FILEStest_yacc+= pure_calc.tab.h 288FILEStest_yacc+= pure_error.error 289FILEStest_yacc+= pure_error.output 290FILEStest_yacc+= pure_error.tab.c 291FILEStest_yacc+= pure_error.tab.h 292FILEStest_yacc+= quote_calc-s.error 293FILEStest_yacc+= quote_calc-s.output 294FILEStest_yacc+= quote_calc-s.tab.c 295FILEStest_yacc+= quote_calc-s.tab.h 296FILEStest_yacc+= quote_calc.error 297FILEStest_yacc+= quote_calc.output 298FILEStest_yacc+= quote_calc.tab.c 299FILEStest_yacc+= quote_calc.tab.h 300FILEStest_yacc+= quote_calc2-s.error 301FILEStest_yacc+= quote_calc2-s.output 302FILEStest_yacc+= quote_calc2-s.tab.c 303FILEStest_yacc+= quote_calc2-s.tab.h 304FILEStest_yacc+= quote_calc2.error 305FILEStest_yacc+= quote_calc2.output 306FILEStest_yacc+= quote_calc2.tab.c 307FILEStest_yacc+= quote_calc2.tab.h 308FILEStest_yacc+= quote_calc3-s.error 309FILEStest_yacc+= quote_calc3-s.output 310FILEStest_yacc+= quote_calc3-s.tab.c 311FILEStest_yacc+= quote_calc3-s.tab.h 312FILEStest_yacc+= quote_calc3.error 313FILEStest_yacc+= quote_calc3.output 314FILEStest_yacc+= quote_calc3.tab.c 315FILEStest_yacc+= quote_calc3.tab.h 316FILEStest_yacc+= quote_calc4-s.error 317FILEStest_yacc+= quote_calc4-s.output 318FILEStest_yacc+= quote_calc4-s.tab.c 319FILEStest_yacc+= quote_calc4-s.tab.h 320FILEStest_yacc+= quote_calc4.error 321FILEStest_yacc+= quote_calc4.output 322FILEStest_yacc+= quote_calc4.tab.c 323FILEStest_yacc+= quote_calc4.tab.h 324FILEStest_yacc+= rename_debug.c 325FILEStest_yacc+= rename_debug.error 326FILEStest_yacc+= rename_debug.h 327FILEStest_yacc+= rename_debug.i 328FILEStest_yacc+= rename_debug.output 329FILEStest_yacc+= varsyntax_calc1.error 330FILEStest_yacc+= varsyntax_calc1.output 331FILEStest_yacc+= varsyntax_calc1.tab.c 332FILEStest_yacc+= varsyntax_calc1.tab.h 333 334.include <bsd.test.mk> 335