You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by sm...@apache.org on 2007/06/21 12:14:31 UTC

svn commit: r549441 - /harmony/enhanced/buildtest/branches/2.0/tests/gut/build.xml

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"