commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nia...@apache.org
Subject svn commit: r646848 - /commons/proper/collections/branches/COLLECTIONS_3_2_BRANCH/build.xml
Date Thu, 10 Apr 2008 15:37:15 GMT
Author: niallp
Date: Thu Apr 10 08:37:13 2008
New Revision: 646848

URL: http://svn.apache.org/viewvc?rev=646848&view=rev
Log:
Fix test reports directory

Modified:
    commons/proper/collections/branches/COLLECTIONS_3_2_BRANCH/build.xml

Modified: commons/proper/collections/branches/COLLECTIONS_3_2_BRANCH/build.xml
URL: http://svn.apache.org/viewvc/commons/proper/collections/branches/COLLECTIONS_3_2_BRANCH/build.xml?rev=646848&r1=646847&r2=646848&view=diff
==============================================================================
--- commons/proper/collections/branches/COLLECTIONS_3_2_BRANCH/build.xml (original)
+++ commons/proper/collections/branches/COLLECTIONS_3_2_BRANCH/build.xml Thu Apr 10 08:37:13
2008
@@ -52,6 +52,7 @@
   <property name="build.conf"              value="${build.home}/conf"/>
   <property name="build.classes"           value="${build.home}/classes"/>
   <property name="build.tests"             value="${build.home}/tests"/>
+  <property name="build.test.reports"      value="${build.home}/test-reports"/>
   <property name="build.docs"              value="${build.home}/docs/apidocs"/>
   <property name="build.src"               value="${build.home}/src-ide" />
   
@@ -284,6 +285,7 @@
 
   <!-- Runs all tests -->
   <target name="-test-all" depends="compile.tests" unless="testcase">
+    <mkdir dir="${build.test.reports}"/>
     <junit printsummary="yes" haltonfailure="yes" showoutput="yes">
       <formatter type="brief" />
       <classpath>
@@ -292,7 +294,7 @@
         <pathelement location="${junit.jar}"/>
       </classpath>
 
-      <batchtest fork="yes">
+      <batchtest fork="yes" todir="${build.test.reports}">
         <fileset dir="${source.test}">
           <include name="**/Test*.java"/>
           <exclude name="**/TestAll*.java"/>
@@ -318,7 +320,7 @@
         <pathelement location="${junit.jar}"/>
       </classpath>
 
-      <test name="${testcase}" fork="yes">
+      <test name="${testcase}" fork="yes" todir="${build.test.reports}">
         <formatter type="brief" usefile="false" />
       </test>
     </junit>



Mime
View raw message