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 :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 # 267 # Catch-all for other areas with a small number of tests 268 # 269 jdk_other = \ 270 java/sql \ 271 javax/sql \ 272 javax/transaction \ 273 javax/rmi \ 274 javax/naming \ 275 javax/script \ 276 javax/smartcardio \ 277 javax/xml \ 278 -javax/xml/crypto \ 279 jdk/internal/jline \ 280 com/sun/jndi \ 281 lib/testlibrary 282 283 # 284 # SCTP is its own group as it is highly sensitive to kernel/network config 285 # 286 jdk_sctp = \ 287 com/sun/nio/sctp 288 289 290 # 291 # core group to run all core area tests 292 # 293 jdk_core = \ 294 :jdk_lang \ 295 :jdk_util \ 296 :jdk_math \ 297 :jdk_io \ 298 :jdk_nio \ 299 :jdk_net \ 300 :jdk_rmi \ 301 :jdk_time \ 302 :jdk_security \ 303 :jdk_text \ 304 :core_tools \ 305 :jdk_other 306 307 # 308 # svc group to run all serviceability area tests 309 # 310 jdk_svc = \ 311 :jdk_management \ 312 :jdk_instrument \ 313 :jdk_jmx \ 314 :jdk_jdi \ 315 :svc_tools 316 317 ############################# 318 319 # 320 # Client area groups 321 # 322 323 jdk_awt = \ 324 java/awt \ 325 com/sun/awt \ 326 com/apple/eawt \ 327 com/apple/laf \ 328 sun/awt \ 329 sun/applet 330 331 jdk_2d = \ 332 javax/print \ 333 sun/java2d 334 335 jdk_beans = \ 336 java/beans 337 338 jdk_swing = \ 339 javax/accessibility \ 340 javax/swing \ 341 com/sun/java/swing 342 343 jdk_sound = \ 344 javax/sound 345 346 jdk_imageio = \ 347 javax/imageio 348 349 jdk_desktop = \ 350 :jdk_awt \ 351 :jdk_2d \ 352 :jdk_beans \ 353 :jdk_swing \ 354 :jdk_sound \ 355 :jdk_imageio 356 357 # SwingSet3 tests. 358 jdk_client_sanity = \ 359 sanity/client/SwingSet 360 361 # This test group represents a subset of tests which are expected to 362 # exercise most of the most commonly used code in Swing applications. 363 # New failures in this area may be a problem. 364 jdk_swing_core = \ 365 :jdk_client_sanity \ 366 javax/swing 367 368 # The most commonly used printing APIs are included here along with swing core. 369 jdk_desktop_core = \ 370 :jdk_swing_core \ 371 java/awt/print 372 373 ############################################################################### 374 # 375 # Serviceability sanity groups 376 # 377 # These groups specify a subset of Serviceability tests that are supposed to 378 # guard against breakage of Serviceability features by other component teams. 379 # They are added to the "hotspot" testset in JPRT so that they will run on all 380 # full-forest pushes through JPRT. 381 # 382 383 jdk_svc_sanity = \ 384 :jdk_management_sanity \ 385 :jdk_instrument_sanity \ 386 :jdk_jmx_sanity \ 387 :jdk_jdi_sanity \ 388 :svc_tools_sanity 389 390 jdk_management_sanity = 391 392 jdk_instrument_sanity = 393 394 jdk_jmx_sanity = 395 396 jdk_jdi_sanity = \ 397 com/sun/jdi/AcceptTimeout.java \ 398 com/sun/jdi/AccessSpecifierTest.java \ 399 com/sun/jdi/AfterThreadDeathTest.java \ 400 com/sun/jdi/ArrayRangeTest.java \ 401 com/sun/jdi/ConstantPoolInfo.java \ 402 com/sun/jdi/CountFilterTest.java \ 403 com/sun/jdi/EarlyReturnNegativeTest.java \ 404 com/sun/jdi/EarlyReturnTest.java \ 405 com/sun/jdi/FieldWatchpoints.java \ 406 com/sun/jdi/FramesTest.java \ 407 com/sun/jdi/InstanceFilter.java \ 408 com/sun/jdi/InterfaceMethodsTest.java \ 409 com/sun/jdi/InvokeTest.java \ 410 com/sun/jdi/LocalVariableEqual.java \ 411 com/sun/jdi/LocationTest.java \ 412 com/sun/jdi/ModificationWatchpoints.java \ 413 com/sun/jdi/MonitorEventTest.java \ 414 com/sun/jdi/MonitorFrameInfo.java \ 415 com/sun/jdi/NullThreadGroupNameTest.java \ 416 com/sun/jdi/PopAndStepTest.java \ 417 com/sun/jdi/PopAsynchronousTest.java \ 418 com/sun/jdi/ProcessAttachTest.java \ 419 com/sun/jdi/ReferrersTest.java \ 420 com/sun/jdi/RequestReflectionTest.java \ 421 com/sun/jdi/ResumeOneThreadTest.java \ 422 com/sun/jdi/RunToExit.java \ 423 com/sun/jdi/SourceNameFilterTest.java \ 424 com/sun/jdi/VarargsTest.java \ 425 com/sun/jdi/Vars.java \ 426 com/sun/jdi/redefineMethod/RedefineTest.java \ 427 com/sun/jdi/sde/MangleTest.java \ 428 com/sun/jdi/sde/TemperatureTableTest.java 429 430 svc_tools_sanity = 431 432 ############################# 433 # 434 # Stable test groups 435 # 436 437 jdk_stable = \ 438 :jdk_core \ 439 :jdk_svc \ 440 :jdk_beans \ 441 :jdk_imageio \ 442 :jdk_sound \ 443 :jdk_sctp \ 444 javax/accessibility \ 445 com/sun/java/swing \ 446 com/sun/awt 447