Makefile (268811) | Makefile (269884) |
---|---|
1# $FreeBSD: head/usr.bin/yacc/tests/Makefile 268811 2014-07-17 22:22:38Z bapt $ | 1# $FreeBSD: head/usr.bin/yacc/tests/Makefile 269884 2014-08-12 17:51:26Z ngie $ |
2 3.include <bsd.own.mk> 4 5TEST_DIR= ${.CURDIR}/../../../contrib/byacc/test 6 7.PATH: ${TEST_DIR} ${TEST_DIR}/yacc 8 9TESTSDIR= ${TESTSBASE}/usr.bin/yacc 10 11PLAIN_TESTS_SH= yacc_tests | 2 3.include <bsd.own.mk> 4 5TEST_DIR= ${.CURDIR}/../../../contrib/byacc/test 6 7.PATH: ${TEST_DIR} ${TEST_DIR}/yacc 8 9TESTSDIR= ${TESTSBASE}/usr.bin/yacc 10 11PLAIN_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. 15TEST_METADATA.yacc_tests+= required_user="unprivileged" |
|
12 13SCRIPTS= run_test 14SCRIPTSDIR= ${TESTSDIR} 15 | 16 17SCRIPTS= run_test 18SCRIPTSDIR= ${TESTSDIR} 19 |
16FILESGROUPS= FILEStest FILEStest_yacc | 20FILESGROUPS= FILES FILEStest FILEStest_yacc |
17 18FILEStestDIR= ${TESTSDIR} 19 20FILEStest+= btyacc_calc1.y 21FILEStest+= btyacc_demo.y 22FILEStest+= calc.y 23FILEStest+= calc1.y 24FILEStest+= calc2.y --- 215 unchanged lines hidden (view full) --- 240FILEStest_yacc+= grammar.error 241FILEStest_yacc+= grammar.output 242FILEStest_yacc+= grammar.tab.c 243FILEStest_yacc+= grammar.tab.h 244FILEStest_yacc+= help.error 245FILEStest_yacc+= help.output 246FILEStest_yacc+= no_b_opt.error 247FILEStest_yacc+= no_b_opt.output | 21 22FILEStestDIR= ${TESTSDIR} 23 24FILEStest+= btyacc_calc1.y 25FILEStest+= btyacc_demo.y 26FILEStest+= calc.y 27FILEStest+= calc1.y 28FILEStest+= calc2.y --- 215 unchanged lines hidden (view full) --- 244FILEStest_yacc+= grammar.error 245FILEStest_yacc+= grammar.output 246FILEStest_yacc+= grammar.tab.c 247FILEStest_yacc+= grammar.tab.h 248FILEStest_yacc+= help.error 249FILEStest_yacc+= help.output 250FILEStest_yacc+= no_b_opt.error 251FILEStest_yacc+= no_b_opt.output |
248# XXX: expected: `f - cannot open "nosuchfile.c"; gets 249# `e - line 0 of "nosuchfile.y", unexpected end-of-file`. 250#FILEStest_yacc+= no_b_opt1.error 251#FILEStest_yacc+= no_b_opt1.output 252#FILEStest_yacc+= no_code_c.error 253#FILEStest_yacc+= no_code_c.output 254#FILEStest_yacc+= no_defines.error 255#FILEStest_yacc+= no_defines.output 256#FILEStest_yacc+= no_graph.error 257#FILEStest_yacc+= no_graph.output 258#FILEStest_yacc+= no_include.error 259#FILEStest_yacc+= no_include.output | 252FILEStest_yacc+= no_b_opt1.error 253FILEStest_yacc+= no_b_opt1.output 254FILEStest_yacc+= no_code_c.error 255FILEStest_yacc+= no_code_c.output 256FILEStest_yacc+= no_defines.error 257FILEStest_yacc+= no_defines.output 258FILEStest_yacc+= no_graph.error 259FILEStest_yacc+= no_graph.output 260FILEStest_yacc+= no_include.error 261FILEStest_yacc+= no_include.output |
260FILEStest_yacc+= no_opts.error 261FILEStest_yacc+= no_opts.output | 262FILEStest_yacc+= no_opts.error 263FILEStest_yacc+= no_opts.output |
262# XXX: expected: `f - cannot open "nosuchfile.c"; gets 263# `e - line 0 of "nosuchfile.y", unexpected end-of-file`. 264#FILEStest_yacc+= no_output.error 265#FILEStest_yacc+= no_output.output 266#FILEStest_yacc+= no_output1.error 267#FILEStest_yacc+= no_output1.output | 264FILEStest_yacc+= no_output.error 265FILEStest_yacc+= no_output.output 266FILEStest_yacc+= no_output1.error 267FILEStest_yacc+= no_output1.output |
268FILEStest_yacc+= no_output2.error 269FILEStest_yacc+= no_output2.output 270FILEStest_yacc+= no_p_opt.error 271FILEStest_yacc+= no_p_opt.output | 268FILEStest_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 | 272FILEStest_yacc+= no_p_opt1.error 273FILEStest_yacc+= no_p_opt1.output 274FILEStest_yacc+= no_verbose.error 275FILEStest_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 --- 49 unchanged lines hidden --- | 276FILEStest_yacc+= nostdin.error 277FILEStest_yacc+= nostdin.output 278FILEStest_yacc+= ok_syntax1.error 279FILEStest_yacc+= ok_syntax1.output 280FILEStest_yacc+= ok_syntax1.tab.c 281FILEStest_yacc+= ok_syntax1.tab.h 282FILEStest_yacc+= pure_calc.error 283FILEStest_yacc+= pure_calc.output --- 49 unchanged lines hidden --- |