harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hinde...@apache.org
Subject svn commit: r786101 - /harmony/enhanced/trunk/build.xml
Date Thu, 18 Jun 2009 15:03:29 GMT
Author: hindessm
Date: Thu Jun 18 15:03:28 2009
New Revision: 786101

URL: http://svn.apache.org/viewvc?rev=786101&view=rev
Log:
Initial attempt at federation-level test target.

Modified:
    harmony/enhanced/trunk/build.xml

Modified: harmony/enhanced/trunk/build.xml
URL: http://svn.apache.org/viewvc/harmony/enhanced/trunk/build.xml?rev=786101&r1=786100&r2=786101&view=diff
==============================================================================
--- harmony/enhanced/trunk/build.xml (original)
+++ harmony/enhanced/trunk/build.xml Thu Jun 18 15:03:28 2009
@@ -583,7 +583,8 @@
         depends="init-classlib-hdk,
                  clean-jdktools,
                  clean-classlib,
-                 clean-vm" >
+                 clean-vm,
+                 clean-tests" >
         <delete dir="${target.dir}" failonerror="false" />
     </target>
 
@@ -862,6 +863,49 @@
         <chmod file="${target.dir}/src/debian/rules" perm="ugo+x" />
     </target>
 
+    <target name="test"
+            depends="test-classlib,test-jdktools,process-test-output" />
+
+    <target name="clean-tests">
+        <delete dir="build/test_report" />
+    </target>
+
+    <target name="test-classlib" depends="clean-tests">
+        <ant antfile="working_classlib/make/build-test.xml"
+             target="test-modules" inheritAll="false" >
+            <propertyset refid="required.props" />
+            <property name="svn.info" value="${harmony.long.version}"/>
+            <property name="svn.revision" value="${harmony.version}"/>
+            <property name="keep.working" value="true" />
+            <property name="tests.output" location="build/test_report" />
+            <property name="test.jre.home" location="target/hdk/jdk/jre" />
+        </ant>
+    </target>
+
+    <target name="test-jdktools" depends="clean-tests">
+        <ant antfile="working_jdktools/make/build-test.xml"
+             target="test-modules" inheritAll="false" >
+            <propertyset refid="required.props" />
+            <property name="svn.info" value="${harmony.long.version}"/>
+            <property name="svn.revision" value="${harmony.version}"/>
+            <property name="keep.working" value="true" />
+            <property name="tests.output" location="build/test_report" />
+            <property name="test.jre.home" location="target/hdk/jdk/jre" />
+        </ant>
+    </target>
+
+    <target name="process-test-output">
+        <ant antfile="working_classlib/make/build-test.xml"
+             target="process-test-output" inheritAll="false" >
+            <propertyset refid="required.props" />
+            <property name="svn.info" value="${harmony.long.version}"/>
+            <property name="svn.revision" value="${harmony.version}"/>
+            <property name="keep.working" value="true" />
+            <property name="tests.output" location="build/test_report" />
+            <property name="test.jre.home" location="target/hdk/jdk/jre" />
+        </ant>
+    </target>
+
     <!-- ============================================================== -->
     <!-- produces a nice looking checksum                               -->
     <!-- ============================================================== -->



Mime
View raw message