harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hinde...@apache.org
Subject svn commit: r499373 - /harmony/enhanced/classlib/trunk/modules/portlib/build.xml
Date Wed, 24 Jan 2007 11:52:27 GMT
Author: hindessm
Date: Wed Jan 24 03:52:25 2007
New Revision: 499373

URL: http://svn.apache.org/viewvc?view=rev&rev=499373
Log:
Fix condition for portlib native tests to behave as I expected it would and
make it possible to set -Dtest.portlib=true to allow testing on windows.

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=499373&r1=499372&r2=499373
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/portlib/build.xml (original)
+++ harmony/enhanced/classlib/trunk/modules/portlib/build.xml Wed Jan 24 03:52:25 2007
@@ -28,6 +28,12 @@
 
     <property file="../../make/depends.properties" />
     <property name="fdlibm.zip" location="${depends.oss}/fdlibm_5.2.zip" />
+    <condition property="test.portlib">
+        <and>
+            <isset property="is.32bit" />
+            <not><isset property="is.windows" /></not>
+        </and>
+    </condition>
 
     <target name="build" /> <!-- depends="compile-java, copy-resources, build-jar"
-->
 
@@ -41,8 +47,7 @@
         </fail>
     </target>
 
-    <target name="-test-module"
-            unless="is.windows" if="is.32bit"
+    <target name="-test-module" unless="test.portlib"
             depends="-compile-native-tests,-run-native-tests" />
 
     <target name="copy-native-includes">



Mime
View raw message