You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by bo...@apache.org on 2008/04/02 16:13:55 UTC

svn commit: r643916 - /ant/core/trunk/src/etc/testcases/taskdefs/optional/junit.xml

Author: bodewig
Date: Wed Apr  2 07:13:53 2008
New Revision: 643916

URL: http://svn.apache.org/viewvc?rev=643916&view=rev
Log:
Redirect formatter output to out directory so it can get removed in cleanup target

Modified:
    ant/core/trunk/src/etc/testcases/taskdefs/optional/junit.xml

Modified: ant/core/trunk/src/etc/testcases/taskdefs/optional/junit.xml
URL: http://svn.apache.org/viewvc/ant/core/trunk/src/etc/testcases/taskdefs/optional/junit.xml?rev=643916&r1=643915&r2=643916&view=diff
==============================================================================
--- ant/core/trunk/src/etc/testcases/taskdefs/optional/junit.xml (original)
+++ ant/core/trunk/src/etc/testcases/taskdefs/optional/junit.xml Wed Apr  2 07:13:53 2008
@@ -222,7 +222,7 @@
         <!-- I want to see something ... -->
         <formatter type="plain" usefile="false"/>
       </batchtest>
-      <test name="FailedTests" if="hasFailingTests">
+      <test name="FailedTests" if="hasFailingTests" todir="${tmp.dir}">
       	<!-- update the FailingTests.java -->
         <formatter type="failure"/>
         <!-- again, I want to see something -->
@@ -232,7 +232,7 @@
   </target>
   
   <target name="failureRecorder.runtest">
-  	<ant target="failureRecorder.internal"
+    <ant target="failureRecorder.internal"
          antfile="junit.xml" 
          inheritAll="false"
          inheritRefs="false" 
@@ -252,10 +252,4 @@
     </echo>
   </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>