harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From var...@apache.org
Subject svn commit: r570059 - /harmony/enhanced/buildtest/branches/2.0/adaptors/gut/adaptor.xml
Date Mon, 27 Aug 2007 10:08:01 GMT
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 -->



Mime
View raw message