harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From smish...@apache.org
Subject svn commit: r614797 - /harmony/enhanced/buildtest/branches/2.0/adaptors/jdktools-test/adaptor.xml
Date Thu, 24 Jan 2008 05:13:54 GMT
Author: smishura
Date: Wed Jan 23 21:13:50 2008
New Revision: 614797

URL: http://svn.apache.org/viewvc?rev=614797&view=rev
Log:
Do clean first (even before rebuild) to remove previous results

Modified:
    harmony/enhanced/buildtest/branches/2.0/adaptors/jdktools-test/adaptor.xml

Modified: harmony/enhanced/buildtest/branches/2.0/adaptors/jdktools-test/adaptor.xml
URL: http://svn.apache.org/viewvc/harmony/enhanced/buildtest/branches/2.0/adaptors/jdktools-test/adaptor.xml?rev=614797&r1=614796&r2=614797&view=diff
==============================================================================
--- harmony/enhanced/buildtest/branches/2.0/adaptors/jdktools-test/adaptor.xml (original)
+++ harmony/enhanced/buildtest/branches/2.0/adaptors/jdktools-test/adaptor.xml Wed Jan 23
21:13:50 2008
@@ -17,7 +17,8 @@
 
 <project name="jdktools-test" default="run" basedir=".">
 
-    <property name="tests.results.dir" value="${built.trunk.dir}/build/test_report"/>
+    <property name="tests.results.dir"
+              value="${built.trunk.dir}/build/test_report" />
 
     <target name="run" depends="-setup-jdktools-ws,-update-jdktools-ws">
         <ant target="test" dir="${built.trunk.dir}">
@@ -55,8 +56,15 @@
     <target name="-update-jdktools-ws"
             if="is.snapshot"
             description="adjusts jdktools-tests to snapshots revision">
+
+        <!-- Do clean first (even before rebuild) -->
+        <!-- to remove previous results           -->
+        <ant target="clean-tests" dir="${built.trunk.dir}" inheritAll="false" />
+
         <loadproperties srcFile="${snapshot.svn.revision.file}" />
-        <exec executable="svn" dir="${built.trunk.dir}" failonerror="true">
+        <exec executable="svn"
+              dir="${jdktools-test.parameters.required.hdk.trunk.dir}"
+              failonerror="true">
             <arg line="-r${svn.revision}" />
             <arg line="update" />
             <!-- update only build.xml. ws update is done during rebuild -->



Mime
View raw message