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