commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chtom...@apache.org
Subject [17/34] commons-collections git commit: Fix test reports directory
Date Tue, 11 Jul 2017 17:54:29 GMT
Fix test reports directory

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/branches/COLLECTIONS_3_2_BRANCH@646848
13f79535-47bb-0310-9956-ffa450edef68


Project: http://git-wip-us.apache.org/repos/asf/commons-collections/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-collections/commit/2cad4a1e
Tree: http://git-wip-us.apache.org/repos/asf/commons-collections/tree/2cad4a1e
Diff: http://git-wip-us.apache.org/repos/asf/commons-collections/diff/2cad4a1e

Branch: refs/heads/COLLECTIONS_3_2_BRANCH
Commit: 2cad4a1e2482f549006e86e32a908a7fac807437
Parents: d9d85d1
Author: Niall Kegan Pemberton <niallp@apache.org>
Authored: Thu Apr 10 15:37:13 2008 +0000
Committer: Niall Kegan Pemberton <niallp@apache.org>
Committed: Thu Apr 10 15:37:13 2008 +0000

----------------------------------------------------------------------
 build.xml | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-collections/blob/2cad4a1e/build.xml
----------------------------------------------------------------------
diff --git a/build.xml b/build.xml
index 2895d14..cb3c5d6 100644
--- a/build.xml
+++ b/build.xml
@@ -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