harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hinde...@apache.org
Subject svn commit: r507442 - /harmony/enhanced/classlib/trunk/modules/portlib/build.xml
Date Wed, 14 Feb 2007 08:55:10 GMT
Author: hindessm
Date: Wed Feb 14 00:55:09 2007
New Revision: 507442

URL: http://svn.apache.org/viewvc?view=rev&rev=507442
Log:
Fixing clean target to also clean native test files.

Modified:
    harmony/enhanced/classlib/trunk/modules/portlib/build.xml

Modified: harmony/enhanced/classlib/trunk/modules/portlib/build.xml
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/portlib/build.xml?view=diff&rev=507442&r1=507441&r2=507442
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/portlib/build.xml (original)
+++ harmony/enhanced/classlib/trunk/modules/portlib/build.xml Wed Feb 14 00:55:09 2007
@@ -115,7 +115,7 @@
     </target>
 
     <!-- Clean natives -->
-    <target name="clean-native" depends="-clean-native-sig">
+    <target name="clean-native" depends="-clean-native-sig,-clean-native-tests">
         <make dir="${hy.portlib.src.main.native}/thread/${hy.os.family}" target="clean"
/>
         <make dir="${hy.portlib.src.main.native}/port/${hy.os.family}" target="clean"
/>
         <make dir="${hy.portlib.src.main.native}/common/${hy.os.family}" target="clean"
/>
@@ -127,9 +127,7 @@
         <make dir="${hy.portlib.src.main.native}/sig/${hy.os.family}" target="clean" />
     </target>
 
-    <target name="clean">
-        <antcall target="clean-native-includes" />
-    </target>
+    <target name="clean" depends="clean-native-includes" />
 
     <target name="clean-native-includes">
         <delete failonerror="false">
@@ -162,6 +160,17 @@
         <exec-native test="hyfile" />
 
         <antcall target="touch-errors-file" />
+    </target>
+
+    <target name="-clean-native-tests" if="test.portlib" >
+        <make dir="${hy.portlib.src.test.native}/init/${hy.os.family}" 
+              target="clean" />
+        <make dir="${hy.portlib.src.test.native}/hyerror/${hy.os.family}" 
+              target="clean" />
+        <make dir="${hy.portlib.src.test.native}/hytime/${hy.os.family}" 
+              target="clean" />
+        <make dir="${hy.portlib.src.test.native}/hyfile/${hy.os.family}" 
+              target="clean" />
     </target>
 
     <target name="touch-errors-file" if="test.errors">



Mime
View raw message