Skip to content

Commit

Permalink
Add more JCK 11 compiler lang sub-test suites (#1365)
Browse files Browse the repository at this point in the history
Added lang/ANNOT, lang/CLSS, lang/CONV, lang/EXPR, lang/LEX, lang/LMBD,
lang/STMT;
Also only enable JCK compiler test for JCK 11 for now.

Signed-off-by: Jason Feng <[email protected]>
  • Loading branch information
JasonFengJ9 authored and Shelley Lambert committed Sep 23, 2019
1 parent 7ced48a commit 6e7caf9
Show file tree
Hide file tree
Showing 2 changed files with 176 additions and 15 deletions.
2 changes: 1 addition & 1 deletion jck/runtime.api/playlist.xml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@
<group>jck</group>
</groups>
<subsets>
<subset>11+</subset>
<subset>11</subset>
</subsets>
</test>
<test>
Expand Down
189 changes: 175 additions & 14 deletions jck/runtime.lang/playlist.xml
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@
<group>jck</group>
</groups>
<subsets>
<subset>11+</subset>
<subset>11</subset>
</subsets>
</test>
<test>
Expand All @@ -237,7 +237,7 @@
<group>jck</group>
</groups>
<subsets>
<subset>11+</subset>
<subset>11</subset>
</subsets>
</test>
<test>
Expand All @@ -260,7 +260,7 @@
<group>jck</group>
</groups>
<subsets>
<subset>11+</subset>
<subset>11</subset>
</subsets>
</test>
<test>
Expand All @@ -283,7 +283,7 @@
<group>jck</group>
</groups>
<subsets>
<subset>11+</subset>
<subset>11</subset>
</subsets>
</test>
<test>
Expand All @@ -306,7 +306,7 @@
<group>jck</group>
</groups>
<subsets>
<subset>11+</subset>
<subset>11</subset>
</subsets>
</test>
<test>
Expand All @@ -329,7 +329,7 @@
<group>jck</group>
</groups>
<subsets>
<subset>11+</subset>
<subset>11</subset>
</subsets>
</test>
<test>
Expand All @@ -352,7 +352,7 @@
<group>jck</group>
</groups>
<subsets>
<subset>11+</subset>
<subset>11</subset>
</subsets>
</test>
<test>
Expand All @@ -375,7 +375,7 @@
<group>jck</group>
</groups>
<subsets>
<subset>11+</subset>
<subset>11</subset>
</subsets>
</test>
<test>
Expand All @@ -398,7 +398,7 @@
<group>jck</group>
</groups>
<subsets>
<subset>11+</subset>
<subset>11</subset>
</subsets>
</test>
<test>
Expand All @@ -421,7 +421,7 @@
<group>jck</group>
</groups>
<subsets>
<subset>11+</subset>
<subset>11</subset>
</subsets>
</test>
<test>
Expand All @@ -444,7 +444,7 @@
<group>jck</group>
</groups>
<subsets>
<subset>11+</subset>
<subset>11</subset>
</subsets>
</test>
<test>
Expand All @@ -467,7 +467,7 @@
<group>jck</group>
</groups>
<subsets>
<subset>11+</subset>
<subset>11</subset>
</subsets>
</test>
<test>
Expand All @@ -490,7 +490,7 @@
<group>jck</group>
</groups>
<subsets>
<subset>11+</subset>
<subset>11</subset>
</subsets>
</test>
<test>
Expand All @@ -513,7 +513,168 @@
<group>jck</group>
</groups>
<subsets>
<subset>11+</subset>
<subset>11</subset>
</subsets>
</test>
<test>
<testCaseName>jck-compiler-lang-ANNOT</testCaseName>
<variations>
<variation>NoOptions</variation>
</variations>
<command>export JAVA_HOME=$(TEST_JDK_HOME)$(D) $(AND_IF_SUCCESS) \
perl $(TEST_RESROOT)$(D)..$(D)..$(D)system$(D)stf$(D)stf.core$(D)scripts$(D)stf.pl \
-test-root=$(Q)$(TEST_RESROOT)$(D)..$(D)..$(D)system$(D)stf;$(TEST_RESROOT)$(D)..$(D)..$(D)system$(D)openjdk-systemtest$(Q) \
-systemtest-prereqs=$(Q)$(JCK_ROOT)$(Q) \
-java-args-setup=$(Q)$(JVM_OPTIONS)$(Q) \
-results-root=$(REPORTDIR) \
-test=Jck -test-args=$(Q)tests=lang/ANNOT,jckRoot=$(JCK_ROOT),jckversion=$(JCK_VERSION),testsuite=COMPILER$(Q); \
$(TEST_STATUS)</command>
<levels>
<level>extended</level>
</levels>
<groups>
<group>jck</group>
</groups>
<subsets>
<subset>11</subset>
</subsets>
</test>
<test>
<testCaseName>jck-compiler-lang-CLSS</testCaseName>
<variations>
<variation>NoOptions</variation>
</variations>
<command>export JAVA_HOME=$(TEST_JDK_HOME)$(D) $(AND_IF_SUCCESS) \
perl $(TEST_RESROOT)$(D)..$(D)..$(D)system$(D)stf$(D)stf.core$(D)scripts$(D)stf.pl \
-test-root=$(Q)$(TEST_RESROOT)$(D)..$(D)..$(D)system$(D)stf;$(TEST_RESROOT)$(D)..$(D)..$(D)system$(D)openjdk-systemtest$(Q) \
-systemtest-prereqs=$(Q)$(JCK_ROOT)$(Q) \
-java-args-setup=$(Q)$(JVM_OPTIONS)$(Q) \
-results-root=$(REPORTDIR) \
-test=Jck -test-args=$(Q)tests=lang/CLSS,jckRoot=$(JCK_ROOT),jckversion=$(JCK_VERSION),testsuite=COMPILER$(Q); \
$(TEST_STATUS)</command>
<levels>
<level>extended</level>
</levels>
<groups>
<group>jck</group>
</groups>
<subsets>
<subset>11</subset>
</subsets>
</test>
<test>
<testCaseName>jck-compiler-lang-CONV</testCaseName>
<variations>
<variation>NoOptions</variation>
</variations>
<command>export JAVA_HOME=$(TEST_JDK_HOME)$(D) $(AND_IF_SUCCESS) \
perl $(TEST_RESROOT)$(D)..$(D)..$(D)system$(D)stf$(D)stf.core$(D)scripts$(D)stf.pl \
-test-root=$(Q)$(TEST_RESROOT)$(D)..$(D)..$(D)system$(D)stf;$(TEST_RESROOT)$(D)..$(D)..$(D)system$(D)openjdk-systemtest$(Q) \
-systemtest-prereqs=$(Q)$(JCK_ROOT)$(Q) \
-java-args-setup=$(Q)$(JVM_OPTIONS)$(Q) \
-results-root=$(REPORTDIR) \
-test=Jck -test-args=$(Q)tests=lang/CONV,jckRoot=$(JCK_ROOT),jckversion=$(JCK_VERSION),testsuite=COMPILER$(Q); \
$(TEST_STATUS)</command>
<levels>
<level>extended</level>
</levels>
<groups>
<group>jck</group>
</groups>
<subsets>
<subset>11</subset>
</subsets>
</test>
<test>
<testCaseName>jck-compiler-lang-EXPR</testCaseName>
<variations>
<variation>NoOptions</variation>
</variations>
<command>export JAVA_HOME=$(TEST_JDK_HOME)$(D) $(AND_IF_SUCCESS) \
perl $(TEST_RESROOT)$(D)..$(D)..$(D)system$(D)stf$(D)stf.core$(D)scripts$(D)stf.pl \
-test-root=$(Q)$(TEST_RESROOT)$(D)..$(D)..$(D)system$(D)stf;$(TEST_RESROOT)$(D)..$(D)..$(D)system$(D)openjdk-systemtest$(Q) \
-systemtest-prereqs=$(Q)$(JCK_ROOT)$(Q) \
-java-args-setup=$(Q)$(JVM_OPTIONS)$(Q) \
-results-root=$(REPORTDIR) \
-test=Jck -test-args=$(Q)tests=lang/EXPR,jckRoot=$(JCK_ROOT),jckversion=$(JCK_VERSION),testsuite=COMPILER$(Q); \
$(TEST_STATUS)</command>
<levels>
<level>extended</level>
</levels>
<groups>
<group>jck</group>
</groups>
<subsets>
<subset>11</subset>
</subsets>
</test>
<test>
<testCaseName>jck-compiler-lang-LEX</testCaseName>
<variations>
<variation>NoOptions</variation>
</variations>
<command>export JAVA_HOME=$(TEST_JDK_HOME)$(D) $(AND_IF_SUCCESS) \
perl $(TEST_RESROOT)$(D)..$(D)..$(D)system$(D)stf$(D)stf.core$(D)scripts$(D)stf.pl \
-test-root=$(Q)$(TEST_RESROOT)$(D)..$(D)..$(D)system$(D)stf;$(TEST_RESROOT)$(D)..$(D)..$(D)system$(D)openjdk-systemtest$(Q) \
-systemtest-prereqs=$(Q)$(JCK_ROOT)$(Q) \
-java-args-setup=$(Q)$(JVM_OPTIONS)$(Q) \
-results-root=$(REPORTDIR) \
-test=Jck -test-args=$(Q)tests=lang/LEX,jckRoot=$(JCK_ROOT),jckversion=$(JCK_VERSION),testsuite=COMPILER$(Q); \
$(TEST_STATUS)</command>
<levels>
<level>extended</level>
</levels>
<groups>
<group>jck</group>
</groups>
<subsets>
<subset>11</subset>
</subsets>
</test>
<test>
<testCaseName>jck-compiler-lang-LMBD</testCaseName>
<variations>
<variation>NoOptions</variation>
</variations>
<command>export JAVA_HOME=$(TEST_JDK_HOME)$(D) $(AND_IF_SUCCESS) \
perl $(TEST_RESROOT)$(D)..$(D)..$(D)system$(D)stf$(D)stf.core$(D)scripts$(D)stf.pl \
-test-root=$(Q)$(TEST_RESROOT)$(D)..$(D)..$(D)system$(D)stf;$(TEST_RESROOT)$(D)..$(D)..$(D)system$(D)openjdk-systemtest$(Q) \
-systemtest-prereqs=$(Q)$(JCK_ROOT)$(Q) \
-java-args-setup=$(Q)$(JVM_OPTIONS)$(Q) \
-results-root=$(REPORTDIR) \
-test=Jck -test-args=$(Q)tests=lang/LMBD,jckRoot=$(JCK_ROOT),jckversion=$(JCK_VERSION),testsuite=COMPILER$(Q); \
$(TEST_STATUS)</command>
<levels>
<level>extended</level>
</levels>
<groups>
<group>jck</group>
</groups>
<subsets>
<subset>11</subset>
</subsets>
</test>
<test>
<testCaseName>jck-compiler-lang-STMT</testCaseName>
<variations>
<variation>NoOptions</variation>
</variations>
<command>export JAVA_HOME=$(TEST_JDK_HOME)$(D) $(AND_IF_SUCCESS) \
perl $(TEST_RESROOT)$(D)..$(D)..$(D)system$(D)stf$(D)stf.core$(D)scripts$(D)stf.pl \
-test-root=$(Q)$(TEST_RESROOT)$(D)..$(D)..$(D)system$(D)stf;$(TEST_RESROOT)$(D)..$(D)..$(D)system$(D)openjdk-systemtest$(Q) \
-systemtest-prereqs=$(Q)$(JCK_ROOT)$(Q) \
-java-args-setup=$(Q)$(JVM_OPTIONS)$(Q) \
-results-root=$(REPORTDIR) \
-test=Jck -test-args=$(Q)tests=lang/STMT,jckRoot=$(JCK_ROOT),jckversion=$(JCK_VERSION),testsuite=COMPILER$(Q); \
$(TEST_STATUS)</command>
<levels>
<level>extended</level>
</levels>
<groups>
<group>jck</group>
</groups>
<subsets>
<subset>11</subset>
</subsets>
</test>
</playlist>
Expand Down

0 comments on commit 6e7caf9

Please sign in to comment.