X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/22cc8d813ee57c9631e527a31010ab138f9b7e06..2ad7e09e963e72ac4c69bb10b866b68947197aaf:/tests/output.at diff --git a/tests/output.at b/tests/output.at index 999ca184..22f125bf 100644 --- a/tests/output.at +++ b/tests/output.at @@ -138,7 +138,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 ])