ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: cvs commit: ant/src/testcases/org/apache/tools/ant/taskdefs/optional ANTLRTest.java
Date Tue, 01 Apr 2003 11:00:52 GMT
Note that test8 is now going to fail.

test8 expects a BuildException to be thrown because the "supergrammar"
file didn't exist.  The real reason for the exception that has been
thrown so far was that the outputdirectory didn't exist, I've fixed
that.

Now antlr will pront a warning "error: file non-existant-file.g not found"
but return with an exit code of 0 so the task doesn't see an error.

We will have to parse the output, I'm afraid.

I wonder whether the now modified test would have passed with ANTLR
2.7.1 or whether it has been broken since its creation.

Stefan

Mime
View raw message