harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From qi...@apache.org
Subject svn commit: r787957 - in /harmony/enhanced/classlib/trunk: build.xml make/build-test.xml modules/luni/build.xml
Date Wed, 24 Jun 2009 09:28:55 GMT
Author: qiuxx
Date: Wed Jun 24 09:28:55 2009
New Revision: 787957

URL: http://svn.apache.org/viewvc?rev=787957&view=rev
Log:
Add a top task to archive all tests into jar files independent on test task, make testing
archiving more convenient.

Modified:
    harmony/enhanced/classlib/trunk/build.xml
    harmony/enhanced/classlib/trunk/make/build-test.xml
    harmony/enhanced/classlib/trunk/modules/luni/build.xml

Modified: harmony/enhanced/classlib/trunk/build.xml
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/build.xml?rev=787957&r1=787956&r2=787957&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/build.xml (original)
+++ harmony/enhanced/classlib/trunk/build.xml Wed Jun 24 09:28:55 2009
@@ -174,6 +174,15 @@
         <ant antfile="make/build-test.xml" inheritall="false" target="test-all"/>
     </target>
 
+    <target name="test-jar" depends="-init-hdk"
+            description="Jar all tests">
+        <echo>
+========================================
+Archive testing classes ...
+========================================
+</echo>
+        <ant antfile="make/build-test.xml" inheritall="false" target="test-jar-modules"/>
+    </target>
 
     <!-- ================================= 
           target: doc             

Modified: harmony/enhanced/classlib/trunk/make/build-test.xml
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/make/build-test.xml?rev=787957&r1=787956&r2=787957&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/make/build-test.xml (original)
+++ harmony/enhanced/classlib/trunk/make/build-test.xml Wed Jun 24 09:28:55 2009
@@ -39,7 +39,7 @@
 
     <!-- this list of components to test will grow to eventually be all modules -->
     <target name="test-all"
-            depends="clean-test-output, test-modules, process-test-output" />
+            depends="clean-test-output, test-jar-init, test-modules, process-test-output"
/>
 
     <target name="process-test-output"
             depends="process-empty, gen-report, check-test-result" />
@@ -56,9 +56,16 @@
     </target>
 
     <target name="test-modules" depends="support-jar, test-jre-vm-info">
+        <poll-modules target="-test-module" />
+    </target>
+
+    <target name="test-jar-init">
         <copy file="${basedir}/make/test.properties" tofile="${hy.hdk}/build/test/test.properties"/>
         <copy file="${basedir}/make/run-test.xml" tofile="${hy.hdk}/build/test/build.xml"/>
-        <poll-modules target="-test-module" />
+    </target>
+
+    <target name="test-jar-modules" depends="test-jar-init">
+        <poll-modules target="test-jar" /> 
     </target>
 
     <target name="gen-report" depends="full-report,short-report" />

Modified: harmony/enhanced/classlib/trunk/modules/luni/build.xml
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/luni/build.xml?rev=787957&r1=787956&r2=787957&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/luni/build.xml (original)
+++ harmony/enhanced/classlib/trunk/modules/luni/build.xml Wed Jun 24 09:28:55 2009
@@ -297,7 +297,7 @@
         </jar>
     </target>
 
-    <target name="test-jar" depends="svn-info">
+    <target name="test-jar" depends="compile-tests, prepare-exclude">
         <mkdir dir="${tests.hdk.dir}"/>
 
         <jar destfile="${tests.hdk.dir}/${hy.luni.packaging.jarname}_tests_api.jar">



Mime
View raw message