You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by sm...@apache.org on 2007/08/17 11:00:48 UTC

svn commit: r566974 - /harmony/enhanced/buildtest/branches/2.0/adaptors/jdktools-test/adaptor.xml

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