]> git.saurik.com Git - bison.git/blobdiff - tests/output.at
Version 2.4.1b.
[bison.git] / tests / output.at
index 999ca18420ca2621c2f96497b2a56e608c68660b..22f125bf52fa2910d3f19dfe765e83a79925657a 100644 (file)
@@ -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
 ])