1 # This file identifies the root of the test-suite hierarchy.
   2 # It also contains test-suite configuration information.
   3 
   4 # The list of keywords supported in the entire test suite.  The
   5 # "intermittent" keyword marks tests known to fail intermittently.
   6 # The "randomness" keyword marks tests using randomness with test
   7 # cases differing from run to run. (A test using a fixed random seed
   8 # would not count as "randomness" by this definition.) Extra care
   9 # should be taken to handle test failures of intermittent or
  10 # randomness tests.
  11 #
  12 # A "headful" test requires a graphical environment to meaningfully
  13 # run. Tests that are not headful are "headless".
  14 # A test flagged with key "printer" requires a printer to succeed, else
  15 # throws a PrinterException or the like.
  16 
  17 keys=2d dnd headful i18n intermittent printer randomness jfr
  18 
  19 # Tests that must run in othervm mode
  20 othervm.dirs=java/awt java/beans javax/accessibility javax/imageio javax/sound javax/swing javax/print \
  21 com/apple/laf com/sun/java/accessibility com/sun/java/swing sanity/client demo/jfc \
  22 javax/management sun/awt sun/java2d javax/xml/jaxp/testng/validation java/lang/ProcessHandle
  23 
  24 # Tests that cannot run concurrently
  25 exclusiveAccess.dirs=java/math/BigInteger/largeMemory \
  26 java/rmi/Naming java/util/prefs sun/management/jmxremote \
  27 sun/tools/jstatd sun/tools/jcmd sun/tools/jhsdb sun/tools/jhsdb/heapconfig \
  28 sun/tools/jinfo sun/tools/jmap sun/tools/jps sun/tools/jstack sun/tools/jstat \
  29 com/sun/tools/attach sun/security/mscapi java/util/stream java/util/Arrays/largeMemory \
  30 java/util/BitSet/stream javax/rmi
  31 
  32 # Group definitions
  33 groups=TEST.groups
  34 
  35 # Allow querying of various System properties in @requires clauses
  36 #
  37 # Source files for classes that will be used at the beginning of each test suite run,
  38 # to determine additional characteristics of the system for use with the @requires tag.
  39 # Note: compiled bootlibs code will be located in the folder 'bootClasses'
  40 requires.extraPropDefns = ../jtreg-ext/requires/VMProps.java
  41 requires.extraPropDefns.bootlibs = ../lib/sun \
  42     ../lib/jdk/test/lib/Platform.java \
  43     ../lib/jdk/test/lib/Container.java
  44 requires.extraPropDefns.vmOpts = -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Xbootclasspath/a:bootClasses
  45 requires.properties= \
  46     sun.arch.data.model \
  47     java.runtime.name \
  48     vm.gc.Z \
  49     vm.gc.Shenandoah \
  50     vm.graal.enabled \
  51     vm.compiler1.enabled \
  52     vm.compiler2.enabled \
  53     vm.cds \
  54     vm.debug \
  55     vm.hasSA \
  56     vm.hasSAandCanAttach \
  57     vm.hasJFR \
  58     docker.support \
  59     release.implementor
  60 
  61 # Minimum jtreg version
  62 requiredVersion=4.2 b16
  63 
  64 # Path to libraries in the topmost test directory. This is needed so @library
  65 # does not need ../../ notation to reach them
  66 external.lib.roots = ../../
  67 
  68 # Use new module options
  69 useNewOptions=true
  70 
  71 # Use --patch-module instead of -Xmodule:
  72 useNewPatchModule=true