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/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