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/internal/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_text = \
 207     java/text \
 208     sun/text
 209 
 210 jdk_management = \
 211     java/lang/management \
 212     com/sun/management \
 213     sun/management \
 214     jdk/internal/agent
 215 
 216 jdk_instrument = \
 217     java/lang/instrument
 218 
 219 jdk_jmx = \
 220     javax/management \
 221     com/sun/jmx
 222 
 223 jdk_jdi = \
 224     com/sun/jdi
 225 
 226 jdk_native_sanity = \
 227     native_sanity
 228 
 229 # java launcher specific tests, Note: do not include this group into any groups
 230 # that potentially could be included into a jprt test rule, as the complementary
 231 # closed  group includes awt SplashScreen and these tests may not run
 232 # satisfactorily on all platforms and  profiles thus this group must always
 233 # be a stand-alone group
 234 jdk_launcher = \
 235     tools/launcher \
 236     sun/tools
 237 
 238 #
 239 # Tool (and tool API) tests are split into core and svc groups
 240 #
 241 core_tools = \
 242     tools \
 243     jdk/internal/jrtfs \
 244     sun/tools/java \
 245     sun/tools/jrunscript
 246 
 247 svc_tools = \
 248     com/sun/tools/attach \
 249     sun/tools \
 250     -sun/tools/java \
 251     -sun/tools/jrunscript \
 252     sun/jvmstat
 253 
 254 jdk_tools = \
 255     :core_tools \
 256     :svc_tools
 257 
 258 #
 259 # Catch-all for other areas with a small number of tests
 260 #
 261 jdk_other = \
 262     java/sql \
 263     javax/sql \
 264     javax/rmi \
 265     javax/naming \
 266     javax/script \
 267     javax/smartcardio \
 268     javax/transaction \
 269     javax/xml \
 270     -javax/xml/crypto \
 271     jdk/internal/jline \
 272     com/sun/jndi \
 273     com/sun/corba \
 274     org/omg/CORBA \
 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 ###############################################################################
 356 #
 357 # Serviceability sanity groups
 358 #
 359 # These groups specify a subset of Serviceability tests that are supposed to
 360 # guard against breakage of Serviceability features by other component teams.
 361 # They are added to the "hotspot" testset in JPRT so that they will run on all
 362 # full-forest pushes through JPRT.
 363 #
 364 
 365 jdk_svc_sanity = \
 366     :jdk_management_sanity \
 367     :jdk_instrument_sanity \
 368     :jdk_jmx_sanity \
 369     :jdk_jdi_sanity \
 370     :svc_tools_sanity
 371 
 372 jdk_management_sanity =
 373 
 374 jdk_instrument_sanity =
 375 
 376 jdk_jmx_sanity =
 377 
 378 jdk_jdi_sanity = \
 379     com/sun/jdi/AcceptTimeout.java \
 380     com/sun/jdi/AccessSpecifierTest.java \
 381     com/sun/jdi/AfterThreadDeathTest.java \
 382     com/sun/jdi/ArrayRangeTest.java \
 383     com/sun/jdi/ConstantPoolInfo.java \
 384     com/sun/jdi/CountFilterTest.java \
 385     com/sun/jdi/EarlyReturnNegativeTest.java \
 386     com/sun/jdi/EarlyReturnTest.java \
 387     com/sun/jdi/FieldWatchpoints.java \
 388     com/sun/jdi/FramesTest.java \
 389     com/sun/jdi/InstanceFilter.java \
 390     com/sun/jdi/InterfaceMethodsTest.java \
 391     com/sun/jdi/InvokeTest.java \
 392     com/sun/jdi/LocalVariableEqual.java \
 393     com/sun/jdi/LocationTest.java \
 394     com/sun/jdi/ModificationWatchpoints.java \
 395     com/sun/jdi/MonitorEventTest.java \
 396     com/sun/jdi/MonitorFrameInfo.java \
 397     com/sun/jdi/NullThreadGroupNameTest.java \
 398     com/sun/jdi/PopAndStepTest.java \
 399     com/sun/jdi/PopAsynchronousTest.java \
 400     com/sun/jdi/ProcessAttachTest.java \
 401     com/sun/jdi/ReferrersTest.java \
 402     com/sun/jdi/RequestReflectionTest.java \
 403     com/sun/jdi/ResumeOneThreadTest.java \
 404     com/sun/jdi/RunToExit.java \
 405     com/sun/jdi/SourceNameFilterTest.java \
 406     com/sun/jdi/VarargsTest.java \
 407     com/sun/jdi/Vars.java \
 408     com/sun/jdi/redefineMethod/RedefineTest.java \
 409     com/sun/jdi/sde/MangleTest.java \
 410     com/sun/jdi/sde/TemperatureTableTest.java
 411 
 412 svc_tools_sanity =
 413 
 414 #############################
 415 #
 416 # Stable test groups
 417 #
 418 
 419 jdk_stable = \
 420     :jdk_core \
 421     :jdk_svc \
 422     :jdk_beans \
 423     :jdk_imageio \
 424     :jdk_sound \
 425     :jdk_sctp \
 426     javax/accessibility \
 427     com/sun/java/swing \
 428     com/sun/awt
 429