DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=43466>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ· INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=43466 Summary: Failure in tearDown does not result in a failed test run Product: Ant Version: unspecified Platform: Other OS/Version: other Status: NEW Severity: normal Priority: P2 Component: AntUnit AssignedTo: dev@ant.apache.org ReportedBy: [EMAIL PROTECTED] Create a build script like the following: <project name="failed-teardown" default="all" xmlns:au="antlib:org.apache.ant.antunit"> <target name="all"> <au:antunit> <file file="${ant.file}" /> <au:plainlistener/> </au:antunit> </target> <target name="setUp"> <echo>setUp</echo> </target> <target name="test1"> <echo>test1</echo> </target> <target name="tearDown"> <echo>tearDown</echo> <fail message="Failure in tearDown" /> </target> </project> Running this test should result in a failed test run, but the test run succeeds and the failure in tearDown is lost. -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]