|
@@ -1595,12 +1595,14 @@ see ${build.junit.reports} / ${antunit.reports} |
|
|
</delete> |
|
|
</delete> |
|
|
<!-- compile the FailedTests class if present --> |
|
|
<!-- compile the FailedTests class if present --> |
|
|
<mkdir dir="${junit.collector.dir}"/> |
|
|
<mkdir dir="${junit.collector.dir}"/> |
|
|
|
|
|
<!-- FIXME: removed junit collector build code |
|
|
<javac srcdir="${junit.collector.dir}" destdir="${junit.collector.dir}"> |
|
|
<javac srcdir="${junit.collector.dir}" destdir="${junit.collector.dir}"> |
|
|
<classpath id="failure.cp"> |
|
|
<classpath id="failure.cp"> |
|
|
<pathelement location="${build.classes}"/> |
|
|
<pathelement location="${build.classes}"/> |
|
|
<pathelement location="${build.tests}"/> |
|
|
<pathelement location="${build.tests}"/> |
|
|
</classpath> |
|
|
</classpath> |
|
|
</javac> |
|
|
</javac> |
|
|
|
|
|
--> |
|
|
<available file="${junit.collector.dir}/${junit.collector.class}.class" |
|
|
<available file="${junit.collector.dir}/${junit.collector.class}.class" |
|
|
property="hasFailingTests"/> |
|
|
property="hasFailingTests"/> |
|
|
<!-- run the tests --> |
|
|
<!-- run the tests --> |
|
@@ -1628,13 +1630,18 @@ see ${build.junit.reports} / ${antunit.reports} |
|
|
<classpath> |
|
|
<classpath> |
|
|
<path refid="tests-classpath"/> |
|
|
<path refid="tests-classpath"/> |
|
|
<pathelement location="${junit.collector.dir}"/> |
|
|
<pathelement location="${junit.collector.dir}"/> |
|
|
<path refid="failure.cp"/> |
|
|
|
|
|
|
|
|
<!-- FIXME: remove failure collector build code for the moment |
|
|
|
|
|
<path refid="failure.cp"/> |
|
|
|
|
|
--> |
|
|
</classpath> |
|
|
</classpath> |
|
|
|
|
|
<!-- FIXME: remove failure collector build code for the moment |
|
|
<formatter type="failure" usefile="false"/> |
|
|
<formatter type="failure" usefile="false"/> |
|
|
|
|
|
--> |
|
|
<formatter type="xml"/> |
|
|
<formatter type="xml"/> |
|
|
<jvmarg line="${test.junit.vmargs}"/> |
|
|
<jvmarg line="${test.junit.vmargs}"/> |
|
|
|
|
|
<!-- FIXME: remove failure collector build code for the moment |
|
|
<test name="${junit.collector.class}" if="hasFailingTests"/> |
|
|
<test name="${junit.collector.class}" if="hasFailingTests"/> |
|
|
|
|
|
|
|
|
|
|
|
--> |
|
|
<junit-nested /> |
|
|
<junit-nested /> |
|
|
</junit> |
|
|
</junit> |
|
|
</sequential> |
|
|
</sequential> |
|
|