You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by mb...@apache.org on 2009/02/03 00:18:17 UTC
svn commit: r740148 -
/commons/proper/collections/branches/collections_jdk5_branch/build.xml
Author: mbenson
Date: Mon Feb 2 23:18:16 2009
New Revision: 740148
URL: http://svn.apache.org/viewvc?rev=740148&view=rev
Log:
parameterize junit haltonfailure
Modified:
commons/proper/collections/branches/collections_jdk5_branch/build.xml
Modified: commons/proper/collections/branches/collections_jdk5_branch/build.xml
URL: http://svn.apache.org/viewvc/commons/proper/collections/branches/collections_jdk5_branch/build.xml?rev=740148&r1=740147&r2=740148&view=diff
==============================================================================
--- commons/proper/collections/branches/collections_jdk5_branch/build.xml (original)
+++ commons/proper/collections/branches/collections_jdk5_branch/build.xml Mon Feb 2 23:18:16 2009
@@ -113,6 +113,7 @@
<!-- 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 @@
<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 @@
<!-- 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 @@
<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}"/>