Browse Source

comment out the junit collector code (I cannot figure out how to make it work)

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@639879 13f79535-47bb-0310-9956-ffa450edef68
master
Peter Reilly 17 years ago
parent
commit
ded146c2dc
1 changed files with 9 additions and 2 deletions
  1. +9
    -2
      build.xml

+ 9
- 2
build.xml View File

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


Loading…
Cancel
Save