diff options
Diffstat (limited to 'tests/output.at')
-rw-r--r-- | tests/output.at | 6 |
1 files changed, 5 insertions, 1 deletions
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 ]) |