1 # Copyright (c) 2013, 2018, Oracle and/or its affiliates. All rights reserved. 2 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 3 # 4 # This code is free software; you can redistribute it and/or modify it 5 # under the terms of the GNU General Public License version 2 only, as 6 # published by the Free Software Foundation. 7 # 8 # This code is distributed in the hope that it will be useful, but WITHOUT 9 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 10 # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 11 # version 2 for more details (a copy is included in the LICENSE file that 12 # accompanied this code). 13 # 14 # You should have received a copy of the GNU General Public License version 15 # 2 along with this work; if not, write to the Free Software Foundation, 16 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 17 # 18 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 19 # or visit www.oracle.com if you need additional information or have any 20 # questions. 21 # 22 23 ############################################################################### 24 # 25 # Tiered testing definitions 26 # 27 28 # When adding tests to tier1, make sure they end up in one of the tier1_partX groups 29 tier1 = \ 30 :tier1_part1 \ 31 :tier1_part2 \ 32 :tier1_part3 33 34 tier1_part1 = \ 35 :jdk_lang 36 37 tier1_part2 = \ 38 :jdk_util \ 39 -java/util/Arrays/TimSortStackSize2.java 40 41 tier1_part3 = \ 42 :jdk_math \ 43 :jdk_svc_sanity \ 44 java/nio/Buffer \ 45 com/sun/crypto/provider/Cipher \ 46 sun/nio/cs/ISO8859x.java \ 47 tools/pack200 48 49 # When adding tests to tier2, make sure they end up in one of the tier2_partX groups 50 tier2 = \ 51 :tier2_part1 \ 52 :tier2_part2 \ 53 :tier2_part3 54 55 # com/sun/crypto/provider/Cipher is in tier1 because of JDK-8132855 56 tier2_part1 = \ 57 :jdk_security \ 58 -com/sun/crypto/provider/Cipher 59 60 # sun/nio/cs/ISO8859x.java and java/nio/Buffer are in tier1 because of JDK-8132854 61 tier2_part2 = \ 62 :core_tools \ 63 -tools/pack200 \ 64 :jdk_io \ 65 :jdk_nio \ 66 -java/nio/Buffer \ 67 -sun/nio/cs/ISO8859x.java \ 68 :jdk_other \ 69 :jdk_text \ 70 :jdk_time \ 71 java/util/Arrays/TimSortStackSize2.java 72 73 74 tier2_part3 = \ 75 :jdk_net 76 77 tier3 = \ 78 :build \ 79 :jdk_rmi \ 80 :jdk_beans \ 81 :jdk_imageio \ 82 :jdk_sound \ 83 :jdk_client_sanity 84 85 ############################################################################### 86 # 87 # Other test definitions; generally smaller granularity than tiers 88 # 89 90 # Build source checking 91 build = \ 92 build 93 94 # java.lang package and VM runtime support 95 jdk_lang = \ 96 java/lang \ 97 -java/lang/management \ 98 -java/lang/instrument \ 99 sun/invoke \ 100 sun/misc \ 101 sun/reflect \ 102 jdk/internal/reflect \ 103 jdk/lambda \ 104 jdk/internal/loader \ 105 jdk/internal/misc \ 106 jdk/internal/ref \ 107 jdk/internal/jimage \ 108 jdk/internal/math \ 109 jdk/modules \ 110 vm 111 112 # All of the java.util package 113 jdk_util = \ 114 :jdk_util_other \ 115 :jdk_collections \ 116 :jdk_concurrent \ 117 :jdk_stream 118 119 # All util components not part of some other util category 120 jdk_util_other = \ 121 java/util \ 122 sun/util \ 123 -:jdk_collections \ 124 -:jdk_concurrent \ 125 -:jdk_stream 126 127 # All collections, core and concurrent 128 jdk_collections = \ 129 :jdk_collections_core \ 130 :jdk_concurrent 131 132 # java.util.concurrent 133 # Includes concurrent collections plus other stuff 134 # Maintained by JSR-166 EG (Doug Lea et al) 135 jdk_concurrent = \ 136 java/util/concurrent 137 138 # Java Collections Framework core classes 139 jdk_collections_core = \ 140 java/util/AbstractCollection \ 141 java/util/AbstractList \ 142 java/util/AbstractMap \ 143 java/util/AbstractSequentialList \ 144 java/util/ArrayList \ 145 java/util/Arrays \ 146 java/util/BitSet \ 147 java/util/Collection \ 148 java/util/Collections \ 149 java/util/Comparator \ 150 java/util/Deque \ 151 java/util/EnumMap \ 152 java/util/EnumSet \ 153 java/util/HashMap \ 154 java/util/HashSet \ 155 java/util/Hashtable \ 156 java/util/IdentityHashMap \ 157 java/util/Iterator \ 158 java/util/LinkedHashMap \ 159 java/util/LinkedHashSet \ 160 java/util/LinkedList \ 161 java/util/List \ 162 java/util/Map \ 163 java/util/NavigableMap \ 164 java/util/PriorityQueue \ 165 java/util/TimSort \ 166 java/util/TreeMap \ 167 java/util/Vector \ 168 java/util/WeakHashMap 169 170 # java.util.stream (JSR-335) 171 jdk_stream = \ 172 java/util/Optional \ 173 java/util/function \ 174 java/util/stream 175 176 jdk_math = \ 177 java/math 178 179 jdk_io = \ 180 java/io 181 182 jdk_nio = \ 183 java/nio \ 184 sun/nio \ 185 jdk/nio 186 187 jdk_net = \ 188 java/net \ 189 com/sun/net/httpserver \ 190 sun/net \ 191 jdk/net 192 193 jdk_time = \ 194 java/time 195 196 jdk_rmi = \ 197 java/rmi \ 198 sun/rmi 199 200 jdk_security1 = \ 201 java/security 202 203 jdk_security2 = \ 204 javax/crypto \ 205 javax/xml/crypto \ 206 com/oracle/security/ucrypto \ 207 com/sun/crypto 208 209 jdk_security3 = \ 210 javax/security \ 211 -javax/security/auth/kerberos \ 212 com/sun/jarsigner \ 213 com/sun/security \ 214 -com/sun/security/jgss \ 215 com/sun/org/apache/xml/internal/security \ 216 jdk/security \ 217 sun/security \ 218 -sun/security/krb5 \ 219 -sun/security/jgss \ 220 javax/net \ 221 com/sun/net/ssl \ 222 lib/security 223 224 jdk_security4 = \ 225 com/sun/security/jgss \ 226 javax/security/auth/kerberos \ 227 sun/security/krb5 \ 228 sun/security/jgss 229 230 jdk_security = \ 231 :jdk_security1 \ 232 :jdk_security2 \ 233 :jdk_security3 \ 234 :jdk_security4 235 236 jdk_security_infra = \ 237 security/infra/java/security/cert/CertPathValidator/certification 238 239 jdk_text = \ 240 java/text \ 241 sun/text 242 243 jdk_management = \ 244 java/lang/management \ 245 com/sun/management \ 246 sun/management \ 247 jdk/internal/agent 248 249 jdk_instrument = \ 250 java/lang/instrument 251 252 jdk_jmx = \ 253 javax/management \ 254 com/sun/jmx 255 256 jdk_jdi = \ 257 com/sun/jdi 258 259 jdk_native_sanity = \ 260 native_sanity 261 262 # java launcher specific tests, Note: do not include this group into any groups 263 # that potentially could be included into a jprt test rule, as the complementary 264 # closed group includes awt SplashScreen and these tests may not run 265 # satisfactorily on all platforms and profiles thus this group must always 266 # be a stand-alone group 267 jdk_launcher = \ 268 tools/launcher \ 269 sun/tools 270 271 # 272 # Tool (and tool API) tests are split into core and svc groups 273 # 274 core_tools = \ 275 tools \ 276 jdk/internal/jrtfs \ 277 sun/tools/java \ 278 sun/tools/jrunscript 279 280 svc_tools = \ 281 com/sun/tools/attach \ 282 sun/tools \ 283 -sun/tools/java \ 284 -sun/tools/jrunscript \ 285 sun/jvmstat 286 287 jdk_tools = \ 288 :core_tools \ 289 :svc_tools 290 291 jdk_jfr = \ 292 jdk/jfr 293 294 # 295 # Catch-all for other areas with a small number of tests 296 # 297 jdk_other = \ 298 java/sql \ 299 javax/sql \ 300 javax/transaction \ 301 javax/rmi \ 302 javax/naming \ 303 javax/script \ 304 javax/smartcardio \ 305 javax/xml \ 306 -javax/xml/crypto \ 307 jdk/internal/jline \ 308 com/sun/jndi \ 309 lib/testlibrary 310 311 # 312 # SCTP is its own group as it is highly sensitive to kernel/network config 313 # 314 jdk_sctp = \ 315 com/sun/nio/sctp 316 317 318 # 319 # core group to run all core area tests 320 # 321 jdk_core = \ 322 :jdk_lang \ 323 :jdk_util \ 324 :jdk_math \ 325 :jdk_io \ 326 :jdk_nio \ 327 :jdk_net \ 328 :jdk_rmi \ 329 :jdk_time \ 330 :jdk_security \ 331 :jdk_text \ 332 :core_tools \ 333 :jdk_other 334 335 # 336 # svc group to run all serviceability area tests 337 # 338 jdk_svc = \ 339 :jdk_management \ 340 :jdk_instrument \ 341 :jdk_jmx \ 342 :jdk_jdi \ 343 :jdk_jfr \ 344 :svc_tools 345 346 ############################# 347 348 # 349 # Client area groups 350 # 351 352 jdk_awt = \ 353 java/awt \ 354 com/sun/awt \ 355 com/apple/eawt \ 356 com/apple/laf \ 357 sun/awt 358 359 jdk_2d = \ 360 javax/print \ 361 sun/java2d 362 363 jdk_beans = \ 364 java/beans 365 366 jdk_swing = \ 367 javax/accessibility \ 368 javax/swing \ 369 com/sun/java/swing 370 371 jdk_sound = \ 372 javax/sound 373 374 jdk_imageio = \ 375 javax/imageio 376 377 jfc_demo = \ 378 demo/jfc 379 380 jdk_desktop = \ 381 :jdk_awt \ 382 :jdk_2d \ 383 :jdk_beans \ 384 :jdk_swing \ 385 :jdk_sound \ 386 :jdk_imageio \ 387 :jfc_demo 388 389 # SwingSet3 tests. 390 jdk_client_sanity = \ 391 sanity/client/SwingSet 392 393 # This test group represents a subset of tests which are expected to 394 # exercise most of the most commonly used code in Swing applications. 395 # New failures in this area may be a problem. 396 jdk_swing_core = \ 397 :jdk_client_sanity \ 398 javax/swing 399 400 # The most commonly used printing APIs are included here along with swing core. 401 jdk_desktop_core = \ 402 :jdk_swing_core \ 403 java/awt/print 404 405 ############################################################################### 406 # 407 # Serviceability sanity groups 408 # 409 # These groups specify a subset of Serviceability tests that are supposed to 410 # guard against breakage of Serviceability features by other component teams. 411 # They are added to the "hotspot" testset in JPRT so that they will run on all 412 # full-forest pushes through JPRT. 413 # 414 415 jdk_svc_sanity = \ 416 :jdk_management_sanity \ 417 :jdk_instrument_sanity \ 418 :jdk_jmx_sanity \ 419 :jdk_jdi_sanity \ 420 :jdk_jfr_sanity \ 421 :svc_tools_sanity 422 423 jdk_management_sanity = 424 425 jdk_instrument_sanity = 426 427 jdk_jmx_sanity = 428 429 jdk_jdi_sanity = \ 430 com/sun/jdi/AcceptTimeout.java \ 431 com/sun/jdi/AccessSpecifierTest.java \ 432 com/sun/jdi/AfterThreadDeathTest.java \ 433 com/sun/jdi/ArrayRangeTest.java \ 434 com/sun/jdi/ConstantPoolInfo.java \ 435 com/sun/jdi/CountFilterTest.java \ 436 com/sun/jdi/EarlyReturnNegativeTest.java \ 437 com/sun/jdi/EarlyReturnTest.java \ 438 com/sun/jdi/FieldWatchpoints.java \ 439 com/sun/jdi/FramesTest.java \ 440 com/sun/jdi/InstanceFilter.java \ 441 com/sun/jdi/InterfaceMethodsTest.java \ 442 com/sun/jdi/InvokeTest.java \ 443 com/sun/jdi/LocalVariableEqual.java \ 444 com/sun/jdi/LocationTest.java \ 445 com/sun/jdi/ModificationWatchpoints.java \ 446 com/sun/jdi/MonitorEventTest.java \ 447 com/sun/jdi/MonitorFrameInfo.java \ 448 com/sun/jdi/NullThreadGroupNameTest.java \ 449 com/sun/jdi/PopAndStepTest.java \ 450 com/sun/jdi/PopAsynchronousTest.java \ 451 com/sun/jdi/ProcessAttachTest.java \ 452 com/sun/jdi/ReferrersTest.java \ 453 com/sun/jdi/RequestReflectionTest.java \ 454 com/sun/jdi/ResumeOneThreadTest.java \ 455 com/sun/jdi/RunToExit.java \ 456 com/sun/jdi/SourceNameFilterTest.java \ 457 com/sun/jdi/VarargsTest.java \ 458 com/sun/jdi/Vars.java \ 459 com/sun/jdi/redefineMethod/RedefineTest.java \ 460 com/sun/jdi/sde/MangleTest.java \ 461 com/sun/jdi/sde/TemperatureTableTest.java 462 463 jdk_jfr_sanity = \ 464 jdk/jfr/api/recording/event/TestLoadEventAfterStart.java \ 465 jdk/jfr/api/recording/state/TestState.java \ 466 jdk/jfr/event/os/TestCPULoad.java \ 467 jdk/jfr/event/compiler/TestAllocInNewTLAB.java \ 468 jdk/jfr/jcmd/TestJcmdStartStopDefault.java \ 469 jdk/jfr/event/io/TestFileStreamEvents.java \ 470 jdk/jfr/event/compiler/TestCompilerCompile.java \ 471 jdk/jfr/event/gc/collection/TestGCGarbageCollectionEvent.java \ 472 jdk/jfr/event/runtime/TestClassLoadEvent.java \ 473 jdk/jfr/event/runtime/TestJavaBlockedEvent.java \ 474 jdk/jfr/event/gc/collection/TestGCWithFasttime.java \ 475 jdk/jfr/event/gc/configuration/TestGCConfigurationEvent.java 476 477 svc_tools_sanity = 478 479 ############################# 480 # 481 # Stable test groups 482 # 483 484 jdk_stable = \ 485 :jdk_core \ 486 :jdk_svc \ 487 :jdk_beans \ 488 :jdk_imageio \ 489 :jdk_sound \ 490 :jdk_sctp \ 491 javax/accessibility \ 492 com/sun/java/swing \ 493 com/sun/awt 494 495 needs_g1gc = \ 496 jdk/jfr/event/gc/refstat/TestRefStatEventWithG1ConcurrentMark.java \ 497 jdk/jfr/event/gc/refstat/TestRefStatEventWithG1FullCollection.java \ 498 jdk/jfr/event/gc/refstat/TestRefStatEventWithG1New.java \ 499 jdk/jfr/event/gc/detailed/TestEvacuationFailedEvent.java \ 500 jdk/jfr/event/gc/detailed/TestEvacuationInfoEvent.java \ 501 jdk/jfr/event/gc/detailed/TestG1ConcurrentModeFailureEvent.java \ 502 jdk/jfr/event/gc/collection/TestGCCauseWithG1ConcurrentMark.java \ 503 jdk/jfr/event/gc/collection/TestGCCauseWithG1FullCollection.java \ 504 jdk/jfr/event/gc/collection/TestYoungGarbageCollectionEventWithG1New.java \ 505 jdk/jfr/event/gc/collection/TestGCEventMixedWithG1FullCollection.java \ 506 jdk/jfr/event/gc/collection/TestGCEventMixedWithG1ConcurrentMark.java \ 507 jdk/jfr/event/gc/collection/TestG1ParallelPhases.java \ 508 jdk/jfr/event/gc/objectcount/TestObjectCountAfterGCEventWithG1FullCollection.java \ 509 jdk/jfr/event/gc/objectcount/TestObjectCountAfterGCEventWithG1ConcurrentMark.java \ 510 jdk/jfr/event/gc/heapsummary/TestHeapSummaryEventG1.java