X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/951366c145107e763a92094462bfed0ae19d9ad1..c0cac722f7e5d7498528a67a37477cdf9ed1745c:/tests/output.at?ds=sidebyside diff --git a/tests/output.at b/tests/output.at index 55177fe4..147e8b28 100644 --- a/tests/output.at +++ b/tests/output.at @@ -26,12 +26,12 @@ m4_define([AT_CHECK_OUTPUT], AT_DATA([$1], [[$2 %% -foo: {} +foo: {}; ]]) AT_CHECK([bison $3 $1], 0) AT_CHECK([ls $4], [], [ignore]) -AT_CLEANUP($4) +AT_CLEANUP ]) AT_CHECK_OUTPUT([foo.y], [], [-dv], @@ -53,6 +53,9 @@ AT_CHECK_OUTPUT([foo.y], [%defines %verbose], [], AT_CHECK_OUTPUT([foo.y], [%defines %verbose %yacc],[], [y.output y.tab.c y.tab.h]) +AT_CHECK_OUTPUT([foo.yy], [%defines %verbose %yacc],[], + [y.output y.tab.c y.tab.h]) + # Exercise %output and %file-prefix AT_CHECK_OUTPUT([foo.y], [%file-prefix="bar" %defines %verbose], [], [bar.output bar.tab.c bar.tab.h])