harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ton...@apache.org
Subject svn commit: r549672 - /harmony/enhanced/classlib/trunk/modules/portlib/build.xml
Date Fri, 22 Jun 2007 02:16:55 GMT
Author: tonywu
Date: Thu Jun 21 19:16:54 2007
New Revision: 549672

URL: http://svn.apache.org/viewvc?view=rev&rev=549672
Log:
recover the checking which prevents these native tests running on 64 bit machine

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=549672&r1=549671&r2=549672
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/portlib/build.xml (original)
+++ harmony/enhanced/classlib/trunk/modules/portlib/build.xml Thu Jun 21 19:16:54 2007
@@ -33,7 +33,6 @@
     <condition property="test.portlib">
         <and>
             <isset property="is.32bit" />
-            <not><isset property="is.windows" /></not>
             <isset property="hythr.available" />
         </and>
     </condition>
@@ -51,7 +50,7 @@
     </target>
 
     <target name="-test-module"
-            depends="-compile-native-tests,-run-native-tests" />
+            depends="-make-report-dir,-compile-native-tests,-run-native-tests" />
 
     <target name="copy-native-includes"
             depends="-copy-thread-include,-copy-thread-stub-include" >
@@ -179,7 +178,11 @@
         </delete>
     </target>
 
-    <target name="-compile-native-tests" >
+    <target name="-make-report-dir">
+        <mkdir dir="${hy.tests.reports}" />
+    </target>
+
+    <target name="-compile-native-tests" if="test.portlib">
         <make dir="${hy.portlib.src.test.native}/init/${hy.os.family}" />
         <make dir="${hy.portlib.src.test.native}/hycpu/${hy.os.family}" />
         <make dir="${hy.portlib.src.test.native}/hyerror/${hy.os.family}" />
@@ -193,8 +196,7 @@
         <make dir="${hy.portlib.src.test.native}/hytime/${hy.os.family}" />
     </target>
 
-    <target name="-run-native-tests" >
-        <mkdir dir="${hy.tests.reports}" />
+    <target name="-run-native-tests" if="test.portlib">
         <property environment="env"/>
         <condition property="hy.thr.libpath"
                    value="${path.separator}${hy.jdk}/jre/bin/default" else="">



Mime
View raw message