@@ -26,6 +26,7 @@
<property name="optimize" value="true" />
<property name="optimize" value="true" />
<property name="junit.fork" value="false" />
<property name="junit.fork" value="false" />
<property name="junit.filtertrace" value="off"/>
<property name="junit.filtertrace" value="off"/>
<property name="junit.summary" value="no"/>
<!--
<!--
===================================================================
===================================================================
@@ -76,6 +77,9 @@
<pathelement location="${tests.etc.dir}"/>
<pathelement location="${tests.etc.dir}"/>
<path refid="classpath" />
<path refid="classpath" />
</path>
</path>
<!-- turn this path into a string which is passed to the tests -->
<property name="tests-classpath.value"
refid="tests-classpath"/>
<!--
<!--
===================================================================
===================================================================
@@ -900,8 +904,7 @@
<target name="run-tests" depends="dump-info,compile-tests" if="junit.present">
<target name="run-tests" depends="dump-info,compile-tests" if="junit.present">
<junit printsummary="no" haltonfailure="yes"
<junit printsummary="${junit.summary}" haltonfailure="yes"
filtertrace="${junit.filtertrace}"
filtertrace="${junit.filtertrace}"
fork="${junit.fork}">
fork="${junit.fork}">
<!-- <jvmarg value="-classic"/> -->
<!-- <jvmarg value="-classic"/> -->
@@ -910,6 +913,8 @@
<sysproperty key="ant.home" value="${ant.home}" />
<sysproperty key="ant.home" value="${ant.home}" />
<sysproperty key="build.tests" value="${build.tests}"/>
<sysproperty key="build.tests" value="${build.tests}"/>
<sysproperty key="java.home" value="${java.home}" />
<sysproperty key="java.home" value="${java.home}" />
<sysproperty key="tests-classpath.value"
value="${tests-classpath.value}" />
<formatter type="brief" usefile="false" />
<formatter type="brief" usefile="false" />
@@ -973,20 +978,30 @@
<exclude name="${optional.package}/sos/SOSTest.java"
<exclude name="${optional.package}/sos/SOSTest.java"
unless="tests.and.ant.share.classloader" />
unless="tests.and.ant.share.classloader" />
<!-- failure of this test case kills the current JVM
so until the defect is actually fixed it is taken
out of the test list -->
<exclude name="org/apache/tools/ant/taskdefs/JavaTest.java" />
</fileset>
</fileset>
</batchtest>
</batchtest>
</junit>
</junit>
</target>
</target>
<target name="run-single-test" if="testcase" depends="compile-tests">
<target name="run-single-test" if="testcase" depends="compile-tests"
description="--> runs the single unit test defined in the testcase property">
<junit printsummary="no" haltonfailure="yes" fork="${junit.fork}"
filtertrace="${junit.filtertrace}">
<junit printsummary="${junit.summary}"
haltonfailure="yes"
fork="${junit.fork}"
filtertrace="${junit.filtertrace}">
<!-- <jvmarg value="-classic"/> -->
<!-- <jvmarg value="-classic"/> -->
<sysproperty key="ant.home" value="${ant.home}" />
<sysproperty key="ant.home" value="${ant.home}" />
<sysproperty key="build.tests" value="${build.tests}"/>
<sysproperty key="build.tests" value="${build.tests}"/>
<sysproperty key="java.home" value="${java.home}" />
<sysproperty key="java.home" value="${java.home}" />
<sysproperty key="tests-classpath.value"
value="${tests-classpath.value}" />
<classpath location="${java.home}/lib/classes.zip" />
<classpath location="${java.home}/lib/classes.zip" />
<classpath refid="tests-classpath"/>
<classpath refid="tests-classpath"/>
<formatter type="plain" usefile="false" />
<formatter type="plain" usefile="false" />