You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by va...@apache.org on 2007/08/27 12:08:01 UTC

svn commit: r570059 - /harmony/enhanced/buildtest/branches/2.0/adaptors/gut/adaptor.xml

Author: varlax
Date: Mon Aug 27 03:08:01 2007
New Revision: 570059

URL: http://svn.apache.org/viewvc?rev=570059&view=rev
Log:
Less tedious GUT startup when restarting CC

Modified:
    harmony/enhanced/buildtest/branches/2.0/adaptors/gut/adaptor.xml

Modified: harmony/enhanced/buildtest/branches/2.0/adaptors/gut/adaptor.xml
URL: http://svn.apache.org/viewvc/harmony/enhanced/buildtest/branches/2.0/adaptors/gut/adaptor.xml?rev=570059&r1=570058&r2=570059&view=diff
==============================================================================
--- harmony/enhanced/buildtest/branches/2.0/adaptors/gut/adaptor.xml (original)
+++ harmony/enhanced/buildtest/branches/2.0/adaptors/gut/adaptor.xml Mon Aug 27 03:08:01 2007
@@ -21,7 +21,14 @@
 <project name="gut" default="run" basedir=".">
 
     <!-- Setup Geronimo and its pre-requisites -->
-    <target name="setup">
+    <target name="setup" depends="check-install,install"/>
+        
+    <property name="install.marker" location="${test.sources.dir}/${suite.name}/install.complete"/>
+    <target name="check-install">
+        <available property="skip.install" file="${install.marker}"/>
+    </target>
+        
+    <target name="install" unless="skip.install">
         <description>
             setup: Install, configure and build Geronimo and its pre-requisites
         </description>
@@ -46,6 +53,7 @@
         </exec-ant>
 
         <fail message="Geronimo unit tests setup failed" if="gut.setup.failed"/>
+        <touch file="${install.marker}"/>
     </target>
 
     <!-- Run Geronimo unit tests -->