Browse Source

Redirect formatter output to out directory so it can get removed in cleanup target

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@643916 13f79535-47bb-0310-9956-ffa450edef68
master
Stefan Bodewig 17 years ago
parent
commit
2ee4e322a7
1 changed files with 2 additions and 8 deletions
  1. +2
    -8
      src/etc/testcases/taskdefs/optional/junit.xml

+ 2
- 8
src/etc/testcases/taskdefs/optional/junit.xml View File

@@ -222,7 +222,7 @@
<!-- I want to see something ... --> <!-- I want to see something ... -->
<formatter type="plain" usefile="false"/> <formatter type="plain" usefile="false"/>
</batchtest> </batchtest>
<test name="FailedTests" if="hasFailingTests">
<test name="FailedTests" if="hasFailingTests" todir="${tmp.dir}">
<!-- update the FailingTests.java --> <!-- update the FailingTests.java -->
<formatter type="failure"/> <formatter type="failure"/>
<!-- again, I want to see something --> <!-- again, I want to see something -->
@@ -232,7 +232,7 @@
</target> </target>
<target name="failureRecorder.runtest"> <target name="failureRecorder.runtest">
<ant target="failureRecorder.internal"
<ant target="failureRecorder.internal"
antfile="junit.xml" antfile="junit.xml"
inheritAll="false" inheritAll="false"
inheritRefs="false" inheritRefs="false"
@@ -252,10 +252,4 @@
</echo> </echo>
</target> </target>
<target name="copy">
<mkdir dir="c:/temp/ant-log"/>
<copy file="out/${file}" tofile="c:/temp/ant-log/${nr}-${file}" failonerror="false"/>
</target>


</project> </project>

Loading…
Cancel
Save