You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by bu...@apache.org on 2003/02/19 00:46:25 UTC
DO NOT REPLY [Bug 17187] New: -
junit task haltonfailure is not halting on errors as described in docs
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17187>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17187
junit task haltonfailure is not halting on errors as described in docs
Summary: junit task haltonfailure is not halting on errors as
described in docs
Product: Ant
Version: 1.5.1
Platform: PC
OS/Version: Windows NT/2K
Status: NEW
Severity: Minor
Priority: Other
Component: Optional Tasks
AssignedTo: dev@ant.apache.org
ReportedBy: j.c.yip@computer.org
haltonfailure behaviour is not inclusive of haltonerror behaviour as described
in the task docs. I have to add haltonerror to get the desired behaviour.
Build file snippet below
<target name="test-unit" depends="compile-test, domain-enhance"
description="Run unit tests">
<junit haltonfailure="true" fork="yes">
<classpath refid="unit.test.classpath"/>
<formatter type="brief" usefile="false"/>
<formatter type="xml"/>
<test name="AllUnitTests" todir="${test.results}"/>
</junit>
</target>