X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/f39ab2869cae648b37bd954fedd99dab8d79ce9f..8b9e021fd1e3b03568d4b2167c47f33ba822a1c8:/tests/output.at?ds=sidebyside diff --git a/tests/output.at b/tests/output.at index bb6d4491..564674e1 100644 --- a/tests/output.at +++ b/tests/output.at @@ -146,7 +146,11 @@ foo: {}; ]]) [cp ]$1[ expout] -AT_BISON_CHECK([$3 $1], $5, [], [$4]) +# Because an output file name conflict is still a warning, Bison exits +# with status 0, so AT_BISON_CHECK does not realize that there may be no +# output file against which to check the XML. AT_BISON_CHECK_NO_XML +# avoids that problem. +AT_BISON_CHECK_NO_XML([$3 $1], $5, [], [$4]) AT_CHECK([[cat $1]], [[0]], [expout]) AT_CLEANUP ])