You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by hi...@apache.org on 2007/01/24 12:52:27 UTC

svn commit: r499373 - /harmony/enhanced/classlib/trunk/modules/portlib/build.xml

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">