harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From smish...@apache.org
Subject svn commit: r549441 - /harmony/enhanced/buildtest/branches/2.0/tests/gut/build.xml
Date Thu, 21 Jun 2007 10:14:31 GMT
Author: smishura
Date: Thu Jun 21 03:14:28 2007
New Revision: 549441

URL: http://svn.apache.org/viewvc?view=rev&rev=549441
Log:
Apply patch from HARMONY-4259:
([testing][bti2.0] Geronimo tests setup fails when DRLVM is not built)

Modified:
    harmony/enhanced/buildtest/branches/2.0/tests/gut/build.xml

Modified: harmony/enhanced/buildtest/branches/2.0/tests/gut/build.xml
URL: http://svn.apache.org/viewvc/harmony/enhanced/buildtest/branches/2.0/tests/gut/build.xml?view=diff&rev=549441&r1=549440&r2=549441
==============================================================================
--- harmony/enhanced/buildtest/branches/2.0/tests/gut/build.xml (original)
+++ harmony/enhanced/buildtest/branches/2.0/tests/gut/build.xml Thu Jun 21 03:14:28 2007
@@ -174,12 +174,6 @@
         description="Setup Geronimo and its pre-requisites"
         depends="install.geronimo,install.maven">
 
-        <condition property="java.exists">
-            <available file="${test.jre.home}"/>
-        </condition>
-
-        <fail message="Path to tested runtime does not exist: ${test.jre.home}" unless="java.exists"/>
-
         <!-- Running maven with "test" target in order to make sure that all
         necessary jar-s are downloaded and all necessary classes are compiled -->
         <exec executable="${cmd}"
@@ -282,6 +276,12 @@
    </target>
 
     <target name="run.tests" description="Launch GUT runs">
+        <condition property="java.exists">
+            <available file="${test.jre.home}"/>
+        </condition>
+
+        <fail message="Path to tested runtime does not exist: ${test.jre.home}" unless="java.exists"/>
+
         <exec executable="${cmd}"
             dir="${geronimo.dir}"
             failonerror="false"



Mime
View raw message