1 # Copyright (c) 2013, 2021, 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 40 tier1_part3 = \ 41 :jdk_math \ 42 :jdk_svc_sanity \ 43 :jdk_foreign \ 44 java/nio/Buffer \ 45 com/sun/crypto/provider/Cipher \ 46 sun/nio/cs/ISO8859x.java 47 48 # When adding tests to tier2, make sure they end up in one of the tier2_partX groups 49 tier2 = \ 50 :tier2_part1 \ 51 :tier2_part2 \ 52 :tier2_part3 53 54 # com/sun/crypto/provider/Cipher is in tier1 because of JDK-8132855 55 tier2_part1 = \ 56 :jdk_security \ 57 -com/sun/crypto/provider/Cipher 58 59 # sun/nio/cs/ISO8859x.java and java/nio/Buffer are in tier1 because of JDK-8132854 60 tier2_part2 = \ 61 :core_tools \ 62 :jdk_io \ 63 :jdk_nio \ 64 -java/nio/Buffer \ 65 -sun/nio/cs/ISO8859x.java \ 66 :jdk_other \ 67 :jdk_text \ 68 :jdk_time 69 70 tier2_part3 = \ 71 :jdk_net 72 73 tier3 = \ 74 :build \ 75 :jdk_vector \ 76 :jdk_rmi \ 77 :jdk_svc \ 78 -:jdk_svc_sanity \ 79 -:svc_tools 80 81 # Everything not in other tiers 82 tier4 = \ 83 / \ 84 -:tier1 \ 85 -:tier2 \ 86 -:tier3 87 88 ############################################################################### 89 # 90 # Other test definitions; generally smaller granularity than tiers 91 # 92 93 # Build source checking 94 build = \ 95 build 96 97 # java.lang package and VM runtime support 98 jdk_lang = \ 99 java/lang \ 100 -java/lang/management \ 101 -java/lang/instrument \ 102 sun/invoke \ 103 sun/misc \ 104 sun/reflect \ 105 jdk/internal/reflect \ 106 jdk/lambda \ 107 jdk/internal/loader \ 108 jdk/internal/misc \ 109 jdk/internal/ref \ 110 jdk/internal/jimage \ 111 jdk/internal/math \ 112 jdk/modules 113 114 # All of the java.util package 115 jdk_util = \ 116 :jdk_util_other \ 117 :jdk_collections \ 118 :jdk_concurrent \ 119 :jdk_stream 120 121 # All util components not part of some other util category 122 jdk_util_other = \ 123 java/util \ 124 sun/util \ 125 -:jdk_collections \ 126 -:jdk_concurrent \ 127 -:jdk_stream 128 129 # All collections, core and concurrent 130 jdk_collections = \ 131 :jdk_collections_core \ 132 :jdk_concurrent 133 134 # java.util.concurrent 135 # Includes concurrent collections plus other stuff 136 # Maintained by JSR-166 EG (Doug Lea et al) 137 jdk_concurrent = \ 138 java/util/concurrent 139 140 # Java Collections Framework core classes 141 jdk_collections_core = \ 142 java/util/AbstractCollection \ 143 java/util/AbstractList \ 144 java/util/AbstractMap \ 145 java/util/AbstractSequentialList \ 146 java/util/ArrayDeque \ 147 java/util/ArrayList \ 148 java/util/Arrays \ 149 java/util/BitSet \ 150 java/util/Collection \ 151 java/util/Collections \ 152 java/util/Comparator \ 153 java/util/Deque \ 154 java/util/EnumMap \ 155 java/util/EnumSet \ 156 java/util/HashMap \ 157 java/util/HashSet \ 158 java/util/Hashtable \ 159 java/util/IdentityHashMap \ 160 java/util/Iterator \ 161 java/util/LinkedHashMap \ 162 java/util/LinkedHashSet \ 163 java/util/LinkedList \ 164 java/util/List \ 165 java/util/Map \ 166 java/util/NavigableMap \ 167 java/util/PriorityQueue \ 168 java/util/TimSort \ 169 java/util/TreeMap \ 170 java/util/Vector \ 171 java/util/WeakHashMap 172 173 # java.util.stream (JSR-335) 174 jdk_stream = \ 175 java/util/Optional \ 176 java/util/function \ 177 java/util/stream 178 179 jdk_math = \ 180 java/math 181 182 jdk_io = \ 183 java/io 184 185 jdk_nio = \ 186 java/nio \ 187 sun/nio \ 188 jdk/nio 189 190 jdk_net = \ 191 java/net \ 192 com/sun/net/httpserver \ 193 sun/net \ 194 jdk/net 195 196 jdk_time = \ 197 java/time 198 199 jdk_rmi = \ 200 java/rmi \ 201 sun/rmi 202 203 jdk_security1 = \ 204 java/security 205 206 jdk_security2 = \ 207 javax/crypto \ 208 javax/xml/crypto \ 209 com/sun/crypto 210 211 jdk_security3 = \ 212 javax/security \ 213 -javax/security/auth/kerberos \ 214 com/sun/jarsigner \ 215 com/sun/security \ 216 -com/sun/security/jgss \ 217 com/sun/org/apache/xml/internal/security \ 218 jdk/security \ 219 sun/security \ 220 -sun/security/krb5 \ 221 -sun/security/jgss \ 222 javax/net 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. 263 jdk_launcher = \ 264 tools/launcher \ 265 sun/tools 266 267 # 268 # Tool (and tool API) tests are split into core and svc groups 269 # 270 core_tools = \ 271 tools \ 272 jdk/internal/jrtfs \ 273 sun/tools/jrunscript 274 275 svc_tools = \ 276 com/sun/tools/attach \ 277 sun/tools \ 278 -sun/tools/jrunscript \ 279 sun/jvmstat 280 281 jdk_tools = \ 282 :core_tools \ 283 :svc_tools 284 285 jdk_jfr = \ 286 jdk/jfr 287 288 # 289 # Catch-all for other areas with a small number of tests 290 # 291 jdk_other = \ 292 java/sql \ 293 javax/sql \ 294 javax/transaction \ 295 javax/rmi \ 296 javax/naming \ 297 javax/script \ 298 javax/smartcardio \ 299 javax/xml \ 300 -javax/xml/crypto \ 301 jdk/dynalink \ 302 jdk/internal/jline \ 303 com/sun/jndi \ 304 lib/testlibrary 305 306 # 307 # SCTP is its own group as it is highly sensitive to kernel/network config 308 # 309 jdk_sctp = \ 310 com/sun/nio/sctp 311 312 313 # 314 # core group to run all core area tests 315 # 316 jdk_core = \ 317 :jdk_lang \ 318 :jdk_util \ 319 :jdk_math \ 320 :jdk_io \ 321 :jdk_nio \ 322 :jdk_net \ 323 :jdk_rmi \ 324 :jdk_time \ 325 :jdk_security \ 326 :jdk_text \ 327 :core_tools \ 328 :jdk_other 329 330 # 331 # svc group to run all serviceability area tests 332 # 333 jdk_svc = \ 334 :jdk_management \ 335 :jdk_instrument \ 336 :jdk_jmx \ 337 :jdk_jdi \ 338 :jdk_jfr \ 339 :svc_tools 340 341 jdk_foreign = \ 342 java/foreign \ 343 -java/foreign/TestMatrix.java 344 345 jdk_vector = \ 346 jdk/incubator/vector 347 348 ############################# 349 350 # 351 # Client area groups 352 # 353 354 jdk_awt = \ 355 java/awt \ 356 com/apple/eawt \ 357 com/apple/laf \ 358 sun/awt 359 360 jdk_2d = \ 361 javax/print \ 362 sun/java2d 363 364 jdk_beans = \ 365 java/beans 366 367 jdk_swing = \ 368 javax/swing \ 369 com/sun/java/swing 370 371 jdk_sound = \ 372 javax/sound 373 374 jdk_imageio = \ 375 javax/imageio 376 377 jdk_accessibility = \ 378 javax/accessibility \ 379 com/sun/java/accessibility 380 381 jfc_demo = \ 382 demo/jfc 383 384 jdk_editpad = \ 385 jdk/editpad 386 387 jdk_desktop = \ 388 :jdk_desktop_part1 \ 389 :jdk_desktop_part2 \ 390 :jdk_desktop_part3 391 392 jdk_desktop_part1 = \ 393 :jdk_client_sanity \ 394 :jdk_swing \ 395 :jdk_2d \ 396 :jdk_sound \ 397 :jdk_imageio \ 398 :jdk_editpad \ 399 :jfc_demo \ 400 :jdk_accessibility \ 401 :jdk_beans 402 403 jdk_desktop_part2 = \ 404 :jdk_awt \ 405 -java/awt/Component \ 406 -java/awt/Modal \ 407 -java/awt/datatransfer \ 408 -java/awt/Window 409 410 jdk_desktop_part3 = \ 411 java/awt/Component \ 412 java/awt/Modal \ 413 java/awt/datatransfer \ 414 java/awt/Window 415 416 # SwingSet3 tests. 417 jdk_client_sanity = \ 418 sanity/client/SwingSet 419 420 # This test group represents a subset of tests which are expected to 421 # exercise most of the most commonly used code in Swing applications. 422 # New failures in this area may be a problem. 423 jdk_swing_core = \ 424 :jdk_client_sanity \ 425 javax/swing 426 427 # The most commonly used printing APIs are included here along with swing core. 428 jdk_desktop_core = \ 429 :jdk_swing_core \ 430 java/awt/print 431 432 ############################################################################### 433 # 434 # Serviceability sanity groups 435 # 436 # These groups specify a subset of Serviceability tests that are supposed to 437 # guard against breakage of Serviceability features by other component teams. 438 439 jdk_svc_sanity = \ 440 :jdk_management_sanity \ 441 :jdk_instrument_sanity \ 442 :jdk_jmx_sanity \ 443 :jdk_jdi_sanity \ 444 :jdk_jfr_sanity \ 445 :svc_tools_sanity 446 447 jdk_management_sanity = 448 449 jdk_instrument_sanity = 450 451 jdk_jmx_sanity = 452 453 jdk_jdi_sanity = \ 454 com/sun/jdi/AcceptTimeout.java \ 455 com/sun/jdi/AccessSpecifierTest.java \ 456 com/sun/jdi/AfterThreadDeathTest.java \ 457 com/sun/jdi/ArrayRangeTest.java \ 458 com/sun/jdi/ConstantPoolInfo.java \ 459 com/sun/jdi/CountFilterTest.java \ 460 com/sun/jdi/EarlyReturnNegativeTest.java \ 461 com/sun/jdi/EarlyReturnTest.java \ 462 com/sun/jdi/FieldWatchpoints.java \ 463 com/sun/jdi/FramesTest.java \ 464 com/sun/jdi/InstanceFilter.java \ 465 com/sun/jdi/InterfaceMethodsTest.java \ 466 com/sun/jdi/InvokeTest.java \ 467 com/sun/jdi/LocalVariableEqual.java \ 468 com/sun/jdi/LocationTest.java \ 469 com/sun/jdi/ModificationWatchpoints.java \ 470 com/sun/jdi/MonitorEventTest.java \ 471 com/sun/jdi/MonitorFrameInfo.java \ 472 com/sun/jdi/NullThreadGroupNameTest.java \ 473 com/sun/jdi/PopAndStepTest.java \ 474 com/sun/jdi/PopAsynchronousTest.java \ 475 com/sun/jdi/ProcessAttachTest.java \ 476 com/sun/jdi/ReferrersTest.java \ 477 com/sun/jdi/RequestReflectionTest.java \ 478 com/sun/jdi/ResumeOneThreadTest.java \ 479 com/sun/jdi/RunToExit.java \ 480 com/sun/jdi/SourceNameFilterTest.java \ 481 com/sun/jdi/VarargsTest.java \ 482 com/sun/jdi/Vars.java \ 483 com/sun/jdi/redefineMethod/RedefineTest.java \ 484 com/sun/jdi/sde/MangleTest.java \ 485 com/sun/jdi/sde/TemperatureTableTest.java 486 487 jdk_jfr_sanity = \ 488 jdk/jfr/api/recording/event/TestLoadEventAfterStart.java \ 489 jdk/jfr/api/recording/state/TestState.java \ 490 jdk/jfr/event/os/TestCPULoad.java \ 491 jdk/jfr/event/allocation/TestObjectAllocationSampleEvent.java \ 492 jdk/jfr/jcmd/TestJcmdStartStopDefault.java \ 493 jdk/jfr/event/io/TestFileStreamEvents.java \ 494 jdk/jfr/event/compiler/TestCompilerCompile.java \ 495 jdk/jfr/event/gc/collection/TestGCGarbageCollectionEvent.java \ 496 jdk/jfr/event/runtime/TestClassLoadEvent.java \ 497 jdk/jfr/event/runtime/TestJavaBlockedEvent.java \ 498 jdk/jfr/event/gc/collection/TestGCWithFasttime.java \ 499 jdk/jfr/event/gc/configuration/TestGCConfigurationEvent.java \ 500 jdk/jfr/event/metadata/TestDefaultConfigurations.java \ 501 jdk/jfr/startupargs/TestDumpOnExit.java \ 502 jdk/jfr/api/consumer/recordingstream/TestBasics.java 503 504 svc_tools_sanity = 505 506 ############################# 507 # 508 # Stable test groups 509 # 510 511 jdk_stable = \ 512 :jdk_core \ 513 :jdk_svc \ 514 :jdk_beans \ 515 :jdk_imageio \ 516 :jdk_sound \ 517 :jdk_sctp \ 518 javax/accessibility \ 519 com/sun/java/swing 520 521 needs_g1gc = \ 522 jdk/jfr/event/gc/refstat/TestRefStatEventWithG1ConcurrentMark.java \ 523 jdk/jfr/event/gc/refstat/TestRefStatEventWithG1FullCollection.java \ 524 jdk/jfr/event/gc/refstat/TestRefStatEventWithG1New.java \ 525 jdk/jfr/event/gc/detailed/TestEvacuationFailedEvent.java \ 526 jdk/jfr/event/gc/detailed/TestEvacuationInfoEvent.java \ 527 jdk/jfr/event/gc/detailed/TestG1ConcurrentModeFailureEvent.java \ 528 jdk/jfr/event/gc/collection/TestGCCauseWithG1ConcurrentMark.java \ 529 jdk/jfr/event/gc/collection/TestGCCauseWithG1FullCollection.java \ 530 jdk/jfr/event/gc/collection/TestYoungGarbageCollectionEventWithG1New.java \ 531 jdk/jfr/event/gc/collection/TestGCEventMixedWithG1FullCollection.java \ 532 jdk/jfr/event/gc/collection/TestGCEventMixedWithG1ConcurrentMark.java \ 533 jdk/jfr/event/gc/collection/TestG1ParallelPhases.java \ 534 jdk/jfr/event/gc/objectcount/TestObjectCountAfterGCEventWithG1FullCollection.java \ 535 jdk/jfr/event/gc/objectcount/TestObjectCountAfterGCEventWithG1ConcurrentMark.java \ 536 jdk/jfr/event/gc/heapsummary/TestHeapSummaryEventG1.java 537 538 # This set of tests will be executed in an ipv6 only environment 539 540 jdk_ipv6_only = \ 541 :jdk_net \ 542 :jdk_nio_networkchannel 543 544 jdk_nio_networkchannel = \ 545 java/nio/channels/AsyncCloseAndInterrupt.java \ 546 java/nio/channels/AsynchronousServerSocketChannel \ 547 java/nio/channels/AsynchronousSocketChannel \ 548 java/nio/channels/DatagramChannel \ 549 java/nio/channels/ServerSocketChannel \ 550 java/nio/channels/SocketChannel \ 551 java/nio/channels/Selector \ 552 java/nio/channels/etc 553 554 jdk_core_manual = \ 555 :jdk_core_manual_no_input \ 556 :jdk_core_manual_no_input_security \ 557 :jdk_core_manual_requires_human_input 558 559 jdk_core_manual_no_input = \ 560 java/net/HugeDataTransferTest.java \ 561 java/net/httpclient/BodyProcessorInputStreamTest.java \ 562 java/net/httpclient/HttpInputStreamTest.java \ 563 java/nio/MappedByteBuffer/PmemTest.java \ 564 java/rmi/registry/nonLocalRegistry/NonLocalRegistryTest.java \ 565 java/util/zip/ZipFile/TestZipFile.java \ 566 javax/net/ssl/compatibility/AlpnTest.java \ 567 javax/net/ssl/compatibility/BasicConnectTest.java \ 568 javax/net/ssl/compatibility/HrrTest.java \ 569 javax/net/ssl/compatibility/SniTest.java \ 570 jdk/nio/zipfs/TestLocOffsetFromZip64EF.java 571 572 jdk_core_manual_no_input_security = \ 573 com/sun/crypto/provider/Cipher/DES/PerformanceTest.java \ 574 com/sun/security/auth/callback/TextCallbackHandler/Default.java \ 575 com/sun/security/auth/callback/TextCallbackHandler/Password.java \ 576 com/sun/security/sasl/gsskerb/AuthOnly.java \ 577 com/sun/security/sasl/gsskerb/ConfSecurityLayer.java \ 578 com/sun/security/sasl/gsskerb/NoSecurityLayer.java \ 579 sun/security/provider/PolicyFile/GrantAllPermToExtWhenNoPolicy.java \ 580 sun/security/provider/PolicyParser/ExtDirs.java \ 581 sun/security/provider/PolicyParser/ExtDirsChange.java \ 582 sun/security/provider/PolicyParser/ExtDirsDefaultPolicy.java \ 583 sun/security/provider/PolicyParser/PrincipalExpansionError.java \ 584 sun/security/smartcardio/TestChannel.java \ 585 sun/security/smartcardio/TestConnect.java \ 586 sun/security/smartcardio/TestConnectAgain.java \ 587 sun/security/smartcardio/TestControl.java \ 588 sun/security/smartcardio/TestDefault.java \ 589 sun/security/smartcardio/TestDirect.java \ 590 sun/security/smartcardio/TestExclusive.java \ 591 sun/security/smartcardio/TestMultiplePresent.java \ 592 sun/security/smartcardio/TestPresent.java \ 593 sun/security/smartcardio/TestTransmit.java \ 594 sun/security/tools/jarsigner/compatibility/Compatibility.java \ 595 sun/security/tools/keytool/i18n.java 596 597 jdk_core_manual_requires_human_input = \ 598 com/sun/jndi/dns/Test6991580.java \ 599 java/util/TimeZone/DefaultTimeZoneTest.java 600 601 602 # Test sets for running inside container environment 603 jdk_containers_extended = \ 604 :jdk_io \ 605 :jdk_nio \ 606 :jdk_svc