Path: blob/master/test/functional/Jsr292/playlist.xml
6000 views
<?xml version='1.0' encoding='UTF-8'?>1<!--2Copyright (c) 2016, 2022 IBM Corp. and others34This program and the accompanying materials are made available under5the terms of the Eclipse Public License 2.0 which accompanies this6distribution and is available at https://www.eclipse.org/legal/epl-2.0/7or the Apache License, Version 2.0 which accompanies this distribution and8is available at https://www.apache.org/licenses/LICENSE-2.0.910This Source Code may also be made available under the following11Secondary Licenses when the conditions for such availability set12forth in the Eclipse Public License, v. 2.0 are satisfied: GNU13General Public License, version 2 with the GNU Classpath14Exception [1] and GNU General Public License, version 2 with the15OpenJDK Assembly Exception [2].1617[1] https://www.gnu.org/software/classpath/license.html18[2] http://openjdk.java.net/legal/assembly-exception.html1920SPDX-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-exception21-->22<playlist xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../TKG/playlist.xsd">23<include>variables.mk</include>24<test>25<testCaseName>jsr292Test_jdk8</testCaseName>26<variations>27<variation>NoOptions</variation>28</variations>29<command>$(JAVA_COMMAND) $(JVM_OPTIONS) \30-Djava.security.policy=$(Q)$(TEST_RESROOT)$(D)java.policy$(Q) \31-cp $(Q)$(TEST_RESROOT)$(D)jsr292test.jar$(P)$(RESOURCES_DIR)$(P)$(TESTNG)$(P)$(LIB_DIR)$(D)asm-all.jar$(Q) \32org.testng.TestNG -d $(REPORTDIR) $(Q)$(TEST_RESROOT)$(D)testng_8.xml$(Q) \33-testnames jsr292Test,jsr292Test_optional \34-groups $(TEST_GROUP) \35-excludegroups $(DEFAULT_EXCLUDE); \36$(TEST_STATUS)</command>37<levels>38<level>extended</level>39</levels>40<groups>41<group>functional</group>42</groups>43<versions>44<version>8</version>45</versions>46<!--47TODO: Further investigation is needed for running against non-openj9 sdk48-->49<impls>50<impl>openj9</impl>51<impl>ibm</impl>52</impls>53</test>54<test>55<testCaseName>jsr292Test_jdk8_special</testCaseName>56<variations>57<variation>Mode195</variation>58</variations>59<command>$(JAVA_COMMAND) $(JVM_OPTIONS) \60-Djava.security.policy=$(Q)$(TEST_RESROOT)$(D)java.policy$(Q) \61-cp $(Q)$(TEST_RESROOT)$(D)jsr292test.jar$(P)$(RESOURCES_DIR)$(P)$(TESTNG)$(P)$(LIB_DIR)$(D)asm-all.jar$(Q) \62org.testng.TestNG -d $(REPORTDIR) $(Q)$(TEST_RESROOT)$(D)testng_8.xml$(Q) \63-testnames jsr292Test,jsr292Test_optional \64-groups $(TEST_GROUP) \65-excludegroups $(DEFAULT_EXCLUDE); \66$(TEST_STATUS)</command>67<levels>68<level>extended</level>69</levels>70<groups>71<group>functional</group>72</groups>73<versions>74<version>8</version>75</versions>76<impls>77<impl>openj9</impl>78<impl>ibm</impl>79</impls>80</test>81<test>82<testCaseName>jsr292Test_jdk9_jdk10</testCaseName>83<variations>84<variation>NoOptions</variation>85<variation>Mode195</variation>86</variations>87<command>$(JAVA_COMMAND) $(JVM_OPTIONS) \88--add-opens=java.base/java.lang=ALL-UNNAMED \89-Djava.security.policy=$(Q)$(TEST_RESROOT)$(D)java.policy$(Q) \90-cp $(Q)$(TEST_RESROOT)$(D)jsr292test.jar$(P)$(RESOURCES_DIR)$(P)$(TESTNG)$(P)$(LIB_DIR)$(D)asm-all.jar$(Q) \91org.testng.TestNG -d $(REPORTDIR) $(Q)$(TEST_RESROOT)$(D)testng.xml$(Q) \92-testnames jsr292Test,jsr292Test_optional \93-groups $(TEST_GROUP) \94-excludegroups $(DEFAULT_EXCLUDE); \95$(TEST_STATUS)</command>96<levels>97<level>extended</level>98</levels>99<groups>100<group>functional</group>101</groups>102<versions>103<version>9</version>104<version>10</version>105</versions>106</test>107<test>108<testCaseName>jsr292Test</testCaseName>109<variations>110<variation>NoOptions</variation>111<variation>Mode195</variation>112</variations>113<command>$(JAVA_COMMAND) $(JAVA_SECURITY_MANAGER) $(JVM_OPTIONS) \114--add-opens=java.base/java.lang=ALL-UNNAMED \115-Djava.security.policy=$(Q)$(TEST_RESROOT)$(D)java.policy$(Q) \116-cp $(Q)$(TEST_RESROOT)$(D)jsr292test.jar$(P)$(RESOURCES_DIR)$(P)$(TESTNG)$(P)$(LIB_DIR)$(D)asm-all.jar$(Q) \117org.testng.TestNG -d $(REPORTDIR) $(Q)$(TEST_RESROOT)$(D)testng.xml$(Q) \118-testnames jsr292Test,jsr292Test_Java11up,jsr292Test_optional \119-groups $(TEST_GROUP) \120-excludegroups $(DEFAULT_EXCLUDE); \121$(TEST_STATUS)</command>122<levels>123<level>extended</level>124</levels>125<groups>126<group>functional</group>127</groups>128<versions>129<version>11+</version>130</versions>131<!--132TODO: Further investigation is needed for running against non-openj9 sdk133-->134<impls>135<impl>openj9</impl>136<impl>ibm</impl>137</impls>138</test>139<test>140<testCaseName>jsr292Test_jdk12</testCaseName>141<variations>142<variation>NoOptions</variation>143<variation>Mode195</variation>144</variations>145<command>$(JAVA_COMMAND) $(JVM_OPTIONS) \146--add-opens=java.base/java.lang=ALL-UNNAMED \147--add-opens=java.base/java.lang.invoke=ALL-UNNAMED \148-Djava.security.policy=$(Q)$(TEST_RESROOT)$(D)java.policy$(Q) \149-cp $(Q)$(TEST_RESROOT)$(D)jsr292test.jar$(P)$(RESOURCES_DIR)$(P)$(TESTNG)$(P)$(LIB_DIR)$(D)asm-all.jar$(Q) \150org.testng.TestNG -d $(REPORTDIR) $(Q)$(TEST_RESROOT)$(D)testng.xml$(Q) \151-testnames jsr292Test_Java12up \152-groups $(TEST_GROUP) \153-excludegroups $(DEFAULT_EXCLUDE); \154$(TEST_STATUS)</command>155<levels>156<level>extended</level>157</levels>158<groups>159<group>functional</group>160</groups>161<versions>162<version>12+</version>163</versions>164<impls>165<impl>openj9</impl>166<impl>ibm</impl>167</impls>168</test>169<test>170<testCaseName>jsr292Test_JitCount0_jdk8</testCaseName>171<variations>172<variation>-Xjit:count=0</variation>173</variations>174<command>$(JAVA_COMMAND) $(JVM_OPTIONS) \175-Djava.security.policy=$(Q)$(TEST_RESROOT)$(D)java.policy$(Q) \176-cp $(Q)$(TEST_RESROOT)$(D)jsr292test.jar$(P)$(RESOURCES_DIR)$(P)$(TESTNG)$(P)$(LIB_DIR)$(D)asm-all.jar$(Q) \177org.testng.TestNG -d $(REPORTDIR) $(Q)$(TEST_RESROOT)$(D)testng_8.xml$(Q) \178-testnames jsr292Test \179-groups $(TEST_GROUP) \180-excludegroups $(DEFAULT_EXCLUDE); \181$(TEST_STATUS)</command>182<platformRequirements>^arch.arm</platformRequirements>183<levels>184<level>extended</level>185</levels>186<groups>187<group>functional</group>188</groups>189<versions>190<version>8</version>191</versions>192<impls>193<impl>openj9</impl>194<impl>ibm</impl>195</impls>196</test>197<test>198<testCaseName>jsr292Test_JitCount0</testCaseName>199<variations>200<variation>-Xjit:count=0</variation>201</variations>202<command>$(JAVA_COMMAND) $(JAVA_SECURITY_MANAGER) $(JVM_OPTIONS) \203--add-opens=java.base/java.lang=ALL-UNNAMED \204-Djava.security.policy=$(Q)$(TEST_RESROOT)$(D)java.policy$(Q) \205-cp $(Q)$(TEST_RESROOT)$(D)jsr292test.jar$(P)$(RESOURCES_DIR)$(P)$(TESTNG)$(P)$(LIB_DIR)$(D)asm-all.jar$(Q) \206org.testng.TestNG -d $(REPORTDIR) $(Q)$(TEST_RESROOT)$(D)testng.xml$(Q) \207-testnames jsr292Test \208-groups $(TEST_GROUP) \209-excludegroups $(DEFAULT_EXCLUDE); \210$(TEST_STATUS)</command>211<platformRequirements>^arch.arm</platformRequirements>212<levels>213<level>extended</level>214</levels>215<groups>216<group>functional</group>217</groups>218<versions>219<version>9+</version>220</versions>221<impls>222<impl>openj9</impl>223<impl>ibm</impl>224</impls>225</test>226<test>227<testCaseName>jsr292BootstrapTest_jdk8</testCaseName>228<variations>229<variation>NoOptions</variation>230<variation>Mode195</variation>231</variations>232<command>$(JAVA_COMMAND) $(JVM_OPTIONS) \233-Xbootclasspath/a:$(Q)$(TEST_RESROOT)$(D)jsr292bootstrap.jar$(Q) \234-cp $(Q)$(TEST_RESROOT)$(D)jsr292test.jar$(P)$(RESOURCES_DIR)$(P)$(TESTNG)$(Q) \235org.testng.TestNG -d $(REPORTDIR) $(Q)$(TEST_RESROOT)$(D)testng_8.xml$(Q) \236-testnames jsr292BootstrapTest \237-groups $(TEST_GROUP) \238-excludegroups $(DEFAULT_EXCLUDE); \239$(TEST_STATUS)</command>240<levels>241<level>extended</level>242</levels>243<groups>244<group>functional</group>245</groups>246<versions>247<version>8</version>248</versions>249<impls>250<impl>openj9</impl>251<impl>ibm</impl>252</impls>253</test>254<test>255<testCaseName>jsr292BootstrapTest</testCaseName>256<variations>257<variation>NoOptions</variation>258</variations>259<command>$(JAVA_COMMAND) $(JAVA_SECURITY_MANAGER) $(JVM_OPTIONS) \260--add-opens=java.base/java.lang=ALL-UNNAMED --add-exports java.base/jdk.internal.reflect=ALL-UNNAMED \261-Xbootclasspath/a:$(Q)$(TEST_RESROOT)$(D)jsr292bootstrap.jar$(Q) \262-cp $(Q)$(TEST_RESROOT)$(D)jsr292test.jar$(P)$(RESOURCES_DIR)$(P)$(TESTNG)$(Q) \263org.testng.TestNG -d $(REPORTDIR) $(Q)$(TEST_RESROOT)$(D)testng.xml$(Q) \264-testnames jsr292BootstrapTest \265-groups $(TEST_GROUP) \266-excludegroups $(DEFAULT_EXCLUDE); \267$(TEST_STATUS)</command>268<levels>269<level>extended</level>270</levels>271<groups>272<group>functional</group>273</groups>274<versions>275<version>9+</version>276</versions>277</test>278<test>279<testCaseName>jsr292BootstrapTests_special</testCaseName>280<variations>281<variation>Mode195</variation>282</variations>283<command>$(JAVA_COMMAND) $(JAVA_SECURITY_MANAGER) $(JVM_OPTIONS) \284--add-opens=java.base/java.lang=ALL-UNNAMED --add-exports java.base/jdk.internal.reflect=ALL-UNNAMED \285-Xbootclasspath/a:$(Q)$(TEST_RESROOT)$(D)jsr292bootstrap.jar$(Q) \286-cp $(Q)$(TEST_RESROOT)$(D)jsr292test.jar$(P)$(RESOURCES_DIR)$(P)$(TESTNG)$(Q) \287org.testng.TestNG -d $(REPORTDIR) $(Q)$(TEST_RESROOT)$(D)testng.xml$(Q) \288-testnames jsr292BootstrapTest \289-groups $(TEST_GROUP) \290-excludegroups $(DEFAULT_EXCLUDE); \291$(TEST_STATUS)</command>292<levels>293<level>extended</level>294</levels>295<groups>296<group>functional</group>297</groups>298<versions>299<version>9+</version>300</versions>301<impls>302<impl>openj9</impl>303<impl>ibm</impl>304</impls>305</test>306<test>307<testCaseName>jsr292_MethodHandleAPI_Test</testCaseName>308<command>$(JAVA_COMMAND) $(JVM_OPTIONS) \309--add-opens=java.base/java.lang.invoke=ALL-UNNAMED --add-opens=java.base/java.lang=ALL-UNNAMED \310-Djava.security.policy=$(Q)$(TEST_RESROOT)$(D)java.policy$(Q) \311-cp $(Q)$(TEST_RESROOT)$(D)jsr292test.jar$(P)$(RESOURCES_DIR)$(P)$(TESTNG)$(P)$(LIB_DIR)$(D)asm-all.jar$(Q) \312org.testng.TestNG -d $(REPORTDIR) $(Q)$(TEST_RESROOT)$(D)testng.xml$(Q) \313-testnames jsr292_MethodHandleAPI_Test \314-groups $(TEST_GROUP) \315-excludegroups $(DEFAULT_EXCLUDE); \316$(TEST_STATUS)</command>317<levels>318<level>extended</level>319</levels>320<groups>321<group>functional</group>322</groups>323<versions>324<version>9+</version>325</versions>326<!--327TODO: Further investigation is needed for running against non-openj9 sdk328-->329<impls>330<impl>openj9</impl>331<impl>ibm</impl>332</impls>333</test>334<test>335<testCaseName>jsr292_MethodHandleAPI_Test_JitCount1</testCaseName>336<command>$(JAVA_COMMAND) $(JVM_OPTIONS) \337--add-opens=java.base/java.lang.invoke=ALL-UNNAMED --add-opens=java.base/java.lang=ALL-UNNAMED \338-Xjit:count=1,disableAsyncCompilation,verbose,vlog=$(Q)$(TEST_RESROOT)$(D)jitv.log$(Q) \339-Djava.security.policy=$(Q)$(TEST_RESROOT)$(D)java.policy$(Q) \340-cp $(Q)$(TEST_RESROOT)$(D)jsr292test.jar$(P)$(RESOURCES_DIR)$(P)$(TESTNG)$(P)$(LIB_DIR)$(D)asm-all.jar$(Q) \341org.testng.TestNG -d $(REPORTDIR) $(Q)$(TEST_RESROOT)$(D)testng.xml$(Q) \342-testnames jsr292_MethodHandleAPI_Test \343-groups $(TEST_GROUP) \344-excludegroups $(DEFAULT_EXCLUDE); \345$(TEST_STATUS)</command>346<levels>347<level>extended</level>348</levels>349<groups>350<group>functional</group>351</groups>352<versions>353<version>9+</version>354</versions>355<impls>356<impl>openj9</impl>357<impl>ibm</impl>358</impls>359</test>360<test>361<testCaseName>jsr292_InDynTest</testCaseName>362<variations>363<variation>NoOptions</variation>364<variation>Mode195</variation>365</variations>366<command>$(JAVA_COMMAND) $(JVM_OPTIONS) \367-cp $(Q)$(TEST_RESROOT)$(D)jsr292test.jar$(P)$(RESOURCES_DIR)$(P)$(TESTNG)$(P)$(LIB_DIR)$(D)asm-all.jar$(Q) \368org.testng.TestNG -d $(REPORTDIR) $(Q)$(TEST_RESROOT)$(D)testng$(XMLSUFFIX).xml$(Q) \369-testnames jsr292_InDynTest \370-groups $(TEST_GROUP) \371-excludegroups $(DEFAULT_EXCLUDE); \372$(TEST_STATUS)</command>373<levels>374<level>extended</level>375</levels>376<groups>377<group>functional</group>378</groups>379<impls>380<impl>openj9</impl>381<impl>ibm</impl>382</impls>383</test>384<!--385TODO: The following test cases specific to Lookup are temporarily excluded in Java 14386as there is no backward compatibility of these APIs since Java 14 due to the new changes387required at https://github.com/eclipse-openj9/openj9/issues/8571. These test cases here388(mainly used prior to OpenJ9) will be re-evaluated against the Java 14 Spec and ideally copied389as a new version with modification to OpenJ9_Jsr_292_API to meet the new scenarios in Java 14.390-->391<test>392<testCaseName>jsr292Test_Lookup</testCaseName>393<variations>394<variation>NoOptions</variation>395<variation>Mode195</variation>396</variations>397<command>$(JAVA_COMMAND) $(JVM_OPTIONS) \398--add-opens=java.base/java.lang=ALL-UNNAMED \399-Djava.security.policy=$(Q)$(TEST_RESROOT)$(D)java.policy$(Q) \400-cp $(Q)$(TEST_RESROOT)$(D)jsr292test.jar$(P)$(RESOURCES_DIR)$(P)$(TESTNG)$(P)$(LIB_DIR)$(D)asm-all.jar$(Q) \401org.testng.TestNG -d $(REPORTDIR) $(Q)$(TEST_RESROOT)$(D)testng.xml$(Q) \402-testnames jsr292Test_Lookup \403-groups $(TEST_GROUP) \404-excludegroups $(DEFAULT_EXCLUDE); \405$(TEST_STATUS)</command>406<levels>407<level>extended</level>408</levels>409<groups>410<group>functional</group>411</groups>412<versions>413<version>9</version>414<version>10</version>415<version>11</version>416<version>13</version>417</versions>418<impls>419<impl>openj9</impl>420<impl>ibm</impl>421</impls>422</test>423<test>424<testCaseName>jsr292Test_Lookup_JitCount0</testCaseName>425<variations>426<variation>-Xjit:count=0</variation>427</variations>428<command>$(JAVA_COMMAND) $(JVM_OPTIONS) \429--add-opens=java.base/java.lang=ALL-UNNAMED \430-Djava.security.policy=$(Q)$(TEST_RESROOT)$(D)java.policy$(Q) \431-cp $(Q)$(TEST_RESROOT)$(D)jsr292test.jar$(P)$(RESOURCES_DIR)$(P)$(TESTNG)$(P)$(LIB_DIR)$(D)asm-all.jar$(Q) \432org.testng.TestNG -d $(REPORTDIR) $(Q)$(TEST_RESROOT)$(D)testng.xml$(Q) \433-testnames jsr292Test_Lookup \434-groups $(TEST_GROUP) \435-excludegroups $(DEFAULT_EXCLUDE); \436$(TEST_STATUS)</command>437<platformRequirements>^arch.arm</platformRequirements>438<levels>439<level>extended</level>440</levels>441<groups>442<group>functional</group>443</groups>444<versions>445<version>9</version>446<version>10</version>447<version>11</version>448<version>13</version>449</versions>450<impls>451<impl>openj9</impl>452<impl>ibm</impl>453</impls>454</test>455</playlist>456457458