parameterize junit haltonfailure git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/branches/collections_jdk5_branch@740148 13f79535-47bb-0310-9956-ffa450edef68
Project: http://git-wip-us.apache.org/repos/asf/commons-collections/repo Commit: http://git-wip-us.apache.org/repos/asf/commons-collections/commit/bba9e0ca Tree: http://git-wip-us.apache.org/repos/asf/commons-collections/tree/bba9e0ca Diff: http://git-wip-us.apache.org/repos/asf/commons-collections/diff/bba9e0ca Branch: refs/heads/collections_jdk5_branch Commit: bba9e0ca5a09f7b7f2451ac77428cc7d6432a1b2 Parents: 0b64e12 Author: Matthew Jason Benson <mben...@apache.org> Authored: Mon Feb 2 23:18:16 2009 +0000 Committer: Matthew Jason Benson <mben...@apache.org> Committed: Mon Feb 2 23:18:16 2009 +0000 ---------------------------------------------------------------------- build.xml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/commons-collections/blob/bba9e0ca/build.xml ---------------------------------------------------------------------- diff --git a/build.xml b/build.xml index 7dbada3..bf07f92 100644 --- a/build.xml +++ b/build.xml @@ -113,6 +113,7 @@ limitations under the License. <!-- JUnit --> <property name="test.failonerror" value="true"/> <property name="test.fork" value="true"/> + <property name="test.haltonfailure" value="true"/> <!-- Maven --> <property name="maven.repo" value="${user.home}/.maven/repository" /> @@ -327,7 +328,7 @@ limitations under the License. <target name="-test-all" depends="instrument" unless="testcase"> <mkdir dir="${build.reports.test}" /> - <junit printsummary="yes" haltonfailure="yes" showoutput="yes"> + <junit printsummary="yes" haltonfailure="${test.haltonfailure}" showoutput="yes"> <classpath> <pathelement location="${build.instrumented}"/> <pathelement location="${build.classes}"/> @@ -366,7 +367,7 @@ limitations under the License. <!-- Runs a single test --> <target name="-test-single" depends="compile.tests" if="testcase"> - <junit printsummary="yes" haltonfailure="yes" showoutput="yes"> + <junit printsummary="yes" haltonfailure="${test.haltonfailure}" showoutput="yes"> <formatter type="brief" /> <classpath> <pathelement location="${build.classes}"/> @@ -398,7 +399,7 @@ limitations under the License. <target name="testjar" depends="compile.tests,jar" description="Run all unit test cases"> <echo message="Running collections tests against built jar ..."/> - <junit printsummary="yes" haltonfailure="yes" dir="${basedir}"> + <junit printsummary="yes" haltonfailure="${test.haltonfailure}" dir="${basedir}"> <classpath> <pathelement location="${build.jar.name}"/> <pathelement location="${build.tests}"/>