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