harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From smish...@apache.org
Subject svn commit: r566974 - /harmony/enhanced/buildtest/branches/2.0/adaptors/jdktools-test/adaptor.xml
Date Fri, 17 Aug 2007 09:00:48 GMT
Author: smishura
Date: Fri Aug 17 02:00:47 2007
New Revision: 566974

URL: http://svn.apache.org/viewvc?view=rev&rev=566974
Log:
JDKTools tests: on 64-bit platform tests should be run in interpreter mode only

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?view=diff&rev=566974&r1=566973&r2=566974
==============================================================================
--- harmony/enhanced/buildtest/branches/2.0/adaptors/jdktools-test/adaptor.xml (original)
+++ harmony/enhanced/buildtest/branches/2.0/adaptors/jdktools-test/adaptor.xml Fri Aug 17
02:00:47 2007
@@ -17,10 +17,19 @@
 
 <project name="jdktools-test" default="run" basedir=".">
 
+    <!-- On 64-bit platform tests should be run in interpreter mode only -->
+    <condition property="is.x86_64" value="-Dhy.test.vmargs=-Xint" else="">
+        <or>
+            <equals arg1="x86_64" arg2="${os.arch}" />
+            <equals arg1="amd64" arg2="${os.arch}" />
+        </or>
+    </condition>
+
     <property name="tests.results.dir" value="${built.trunk.dir}/build/test_report"/>
 
     <target name="run">
         <exec-ant targets="test" dir="${built.trunk.dir}">
+            <jvmarg line="${is.x86_64}"/>
             <sysproperty key="exclude.interm" value="true"/>
             <sysproperty key="test.jre.home" value="${tested.jre}"/>
             <sysproperty key="hy.test.timeout" value="6000000"/>



Mime
View raw message