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