harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hinde...@apache.org
Subject svn commit: r793577 - /harmony/enhanced/classlib/trunk/make/run-test.xml
Date Mon, 13 Jul 2009 13:16:33 GMT
Author: hindessm
Date: Mon Jul 13 13:16:33 2009
New Revision: 793577

URL: http://svn.apache.org/viewvc?rev=793577&view=rev
Log:
Avoid using antcall because it has quite a bit of overhead.

Modified:
    harmony/enhanced/classlib/trunk/make/run-test.xml

Modified: harmony/enhanced/classlib/trunk/make/run-test.xml
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/make/run-test.xml?rev=793577&r1=793576&r2=793577&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/make/run-test.xml (original)
+++ harmony/enhanced/classlib/trunk/make/run-test.xml Mon Jul 13 13:16:33 2009
@@ -29,27 +29,22 @@
     <property name="test.report.dir" value="${work.dir}/report" />
     <property name="junit.jar" value="${target.dir}/junit.jar" />
 
-    <target name="test" depends="test-jre-vm-info">
+    <target name="test"
+            depends="test-jre-vm-info,-test,test-module,gen-report,check-test-result" />
+    <target name="-test">
         <echo message="Test Work Dir: ${work.dir}" />
         <echo message="Test Target Dir: ${target.dir}" />
         <mkdir dir="${work.dir}" /> 
         <delete dir="${test.report.dir}" quiet="true"/>
         <convert-test-as-class from="test.case" to="converted.tc.class" />
-
-        <antcall target="test-module"/>
-
-        <antcall target="generate-report"/>
-        <antcall target="check-test-result"/>
     </target>
     
     <target name="test-module">
-        <antcall target="test-${build.module}"/>
+        <antcall target="test-${build.module}" />
     </target>
 
-    <target name="test-all">
-        <echo message="Test all modules"/>
-        <!--TODO: will add all modules here -->
-        <antcall target="test-luni"/>
+    <target name="test-all" depends="test-luni">
+        <!--TODO: will add all modules as depends -->
     </target>
     
     <target name="test-luni">
@@ -89,7 +84,7 @@
         <fail if="test.failures" message="There were test failures." />
     </target>
 
-    <target name="generate-report">
+    <target name="gen-report">
         <junitreport todir="${test.report.dir}">
             <fileset dir="${test.report.dir}">
                 <include name="**/TEST*-*.xml" />



Mime
View raw message