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