Skip to content

Commit

Permalink
Merge pull request #5252 from keithc-ca/ddrext-0.14
Browse files Browse the repository at this point in the history
DDR Extension Test must use '-XstartOnFirstThread' on MacOSX
  • Loading branch information
pshipton authored Mar 26, 2019
2 parents 4911084 + a47b3fb commit 5a37383
Showing 1 changed file with 24 additions and 21 deletions.
45 changes: 24 additions & 21 deletions test/functional/DDR_Test/tck_ddrext.xml
Original file line number Diff line number Diff line change
@@ -1,27 +1,25 @@
<?xml version="1.0" encoding="UTF-8"?>

<!--
Copyright (c) 2016, 2018 IBM Corp. and others
Copyright (c) 2016, 2019 IBM Corp. and others
This program and the accompanying materials are made available under
the terms of the Eclipse Public License 2.0 which accompanies this
distribution and is available at https://www.eclipse.org/legal/epl-2.0/
or the Apache License, Version 2.0 which accompanies this distribution and
is available at https://www.apache.org/licenses/LICENSE-2.0.
This program and the accompanying materials are made available under
the terms of the Eclipse Public License 2.0 which accompanies this
distribution and is available at https://www.eclipse.org/legal/epl-2.0/
or the Apache License, Version 2.0 which accompanies this distribution and
is available at https://www.apache.org/licenses/LICENSE-2.0.
This Source Code may also be made available under the following
Secondary Licenses when the conditions for such availability set
forth in the Eclipse Public License, v. 2.0 are satisfied: GNU
General Public License, version 2 with the GNU Classpath
Exception [1] and GNU General Public License, version 2 with the
OpenJDK Assembly Exception [2].
This Source Code may also be made available under the following
Secondary Licenses when the conditions for such availability set
forth in the Eclipse Public License, v. 2.0 are satisfied: GNU
General Public License, version 2 with the GNU Classpath
Exception [1] and GNU General Public License, version 2 with the
OpenJDK Assembly Exception [2].
[1] https://www.gnu.org/software/classpath/license.html
[2] http://openjdk.java.net/legal/assembly-exception.html
[1] https://www.gnu.org/software/classpath/license.html
[2] http://openjdk.java.net/legal/assembly-exception.html
SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 OR LicenseRef-GPL-2.0 WITH Assembly-exception
SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 OR LicenseRef-GPL-2.0 WITH Assembly-exception
-->

<project name="DDR Extension Test" default="clean">
<taskdef resource="net/sf/antcontrib/antcontrib.properties" />

Expand Down Expand Up @@ -78,7 +76,7 @@
<echo>Using JVM : ${JAVA_COMMAND}</echo>
<echo>classname = "j9vm.test.corehelper.StackMapCoreGenerator"</echo>
<echo>Java VM Args:</echo>
<echo> jvmarg = -Xshareclasses:name=ddrextjunitSCC,destroy</echo>
<echo> jvmarg = -Xshareclasses:name=ddrextjunitSCC,destroy</echo>
<echo></echo>
<java fork="true" jvm="${JAVA_COMMAND}" classname="j9vm.test.corehelper.StackMapCoreGenerator"
timeout="1200000" failonerror="false">
Expand All @@ -87,13 +85,18 @@
</java>
</target>

<!-- MacOSX needs -XstartOnFirstThread -->
<condition property="StartOnFirstThread" value="-XstartOnFirstThread" else="">
<os family="mac" />
</condition>

<target name="TCK.run.tests.ddrext" depends="TCK.destroy.cache">
<echo>Running the DDR Extension Test</echo>
<java fork="true" jvm="${JAVA_COMMAND}" classname="j9vm.test.ddrext.AutoRun"
timeout="1200000" failonerror="true">
<jvmarg value="${ADDITIONALEXPORTS}" />
<jvmarg line="${ADDITIONALEXPORTS} ${StartOnFirstThread}" />
<arg value="${system.dump}" />
<arg value="${test.list}"/>
<arg value="${test.list}"/>
<arg value="${TEST_RESROOT}/ddrplugin.jar" />
<classpath refid="tck.class.path" />
</java>
Expand Down Expand Up @@ -122,4 +125,4 @@
<target name="clean" depends="TCK.run.tests.ddrext" description="clean">
<delete file="${system.dump}" />
</target>
</project>
</project>

0 comments on commit 5a37383

Please sign in to comment.