Skip to content

Commit

Permalink
Merge pull request eclipse-openj9#318 from andrew-m-leonard/testOnOpe…
Browse files Browse the repository at this point in the history
…njdk8

Fixed OpenJDK8 test compilation and sanity suite issues.
  • Loading branch information
llxia authored Oct 20, 2017
2 parents a3c9ec0 + f3c1808 commit 69ebc8f
Show file tree
Hide file tree
Showing 3 changed files with 67 additions and 39 deletions.
1 change: 1 addition & 0 deletions test/Java8andUp/build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,7 @@
<src path="${src}" />
<src path="${src_80}" />
<src path="${transformerListener}" />
<exclude name="**/Cmvc194280.java" />
<exclude name="**/resources/**"/>
<exclude name="**/gpu/**"/>
<!-- requires special compilation methods -->
Expand Down
65 changes: 65 additions & 0 deletions test/VM_Test/excluded_playlist.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
<?xml version="1.0" encoding="UTF-8"?>

<!--
Copyright (c) 2016, 2017 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 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
SPDX-License-Identifier: EPL-2.0 OR Apache-2.0
-->

<playlist xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../TestConfig/playlist.xsd">

<test>
<featureIds>
<featureId>113758</featureId>
</featureIds>
<testCaseName>recreateClassTest</testCaseName>
<variations>
<variation>NoOptions</variation>
</variations>
<command>
$(JAVA_COMMAND) $(JVM_OPTIONS) \
-javaagent:$(Q)$(TEST_RESROOT)$(D)VM_Test.jar$(Q) \
-cp $(Q)$(LIB_DIR)$(D)junit4.jar$(P)$(LIB_DIR)$(D)asm-all.jar$(P)$(TEST_RESROOT)$(D)VM_Test.jar$(P)$(LIB_DIR)$(D)javassist.jar$(Q) \
junit.textui.TestRunner com.ibm.j9.recreateclass.tests.RecreateClassTestSuite; \
$(TEST_STATUS)</command>
<tags>
<tag>sanity</tag>
</tags>
<subsets>
<subset>SE80</subset>
</subsets>
</test>

<test>
<featureIds>
<featureId>133610</featureId>
</featureIds>
<testCaseName>CFdumptest</testCaseName>
<command>$(JAVA_COMMAND) $(JVM_OPTIONS) \
-cp $(Q)$(TEST_RESROOT)$(D)VM_Test.jar$(P)$(LIB_DIR)$(D)junit4.jar$(Q) \
junit.textui.TestRunner com.ibm.j9.cfdump.tests.CfdumpTestSuite; \
$(TEST_STATUS)</command>
<tags>
<tag>sanity</tag>
</tags>
<subsets>
<subset>SE80</subset>
</subsets>
</test>
</playlist>
40 changes: 1 addition & 39 deletions test/VM_Test/playlist.xml
Original file line number Diff line number Diff line change
Expand Up @@ -76,44 +76,6 @@
</subsets>
</test>

<test>
<featureIds>
<featureId>113758</featureId>
</featureIds>
<testCaseName>recreateClassTest</testCaseName>
<variations>
<variation>NoOptions</variation>
</variations>
<command>
$(JAVA_COMMAND) $(JVM_OPTIONS) \
-javaagent:$(Q)$(TEST_RESROOT)$(D)VM_Test.jar$(Q) \
-cp $(Q)$(LIB_DIR)$(D)junit4.jar$(P)$(LIB_DIR)$(D)asm-all.jar$(P)$(TEST_RESROOT)$(D)VM_Test.jar$(P)$(LIB_DIR)$(D)javassist.jar$(Q) \
junit.textui.TestRunner com.ibm.j9.recreateclass.tests.RecreateClassTestSuite; \
$(TEST_STATUS)</command>
<tags>
<tag>sanity</tag>
</tags>
<subsets>
<subset>SE80</subset>
</subsets>
</test>

<test>
<featureIds>
<featureId>133610</featureId>
</featureIds>
<testCaseName>CFdumptest</testCaseName>
<command>$(JAVA_COMMAND) $(JVM_OPTIONS) \
-cp $(Q)$(TEST_RESROOT)$(D)VM_Test.jar$(P)$(LIB_DIR)$(D)junit4.jar$(Q) \
junit.textui.TestRunner com.ibm.j9.cfdump.tests.CfdumpTestSuite; \
$(TEST_STATUS)</command>
<tags>
<tag>sanity</tag>
</tags>
<subsets>
<subset>SE80</subset>
</subsets>
</test>
<test>
<featureIds>
<featureId>134688</featureId>
Expand All @@ -132,4 +94,4 @@
<subset>SE90</subset>
</subsets>
</test>
</playlist>
</playlist>

0 comments on commit 69ebc8f

Please sign in to comment.