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 com/sun/awt sun/awt sun/java2d javax/xml/jaxp/testng/validation java/lang/ProcessHandle
  23 
  24 # Tests that cannot run concurrently
  25 exclusiveAccess.dirs=java/rmi/Naming java/util/prefs sun/management/jmxremote sun/tools/jstatd \
  26 sun/security/mscapi java/util/stream java/util/Arrays/largeMemory java/util/BitSet/stream javax/rmi
  27 
  28 # Group definitions
  29 groups=TEST.groups
  30 
  31 # Allow querying of various System properties in @requires clauses
  32 #
  33 # Source files for classes that will be used at the beginning of each test suite run,
  34 # to determine additional characteristics of the system for use with the @requires tag.
  35 # Note: compiled bootlibs code will be located in the folder 'bootClasses'
  36 requires.extraPropDefns = ../../test/jtreg-ext/requires/VMProps.java [../../closed/test/jtreg-ext/requires/VMPropsExt.java]
  37 requires.extraPropDefns.bootlibs = ../../test/lib/sun \
  38     ../../test/lib/jdk/test/lib/Platform.java \
  39     ../../test/lib/jdk/test/lib/Container.java
  40 requires.extraPropDefns.vmOpts = -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Xbootclasspath/a:bootClasses
  41 requires.properties= \
  42     sun.arch.data.model \
  43     java.runtime.name \
  44     vm.gc.Z \
  45     vm.graal.enabled \
  46     vm.compiler1.enabled \
  47     vm.compiler2.enabled \
  48     vm.cds \
  49     vm.debug \
  50     vm.hasSA \
  51     vm.hasSAandCanAttach \
  52     vm.hasJFR \
  53     docker.support \
  54     release.implementor
  55 
  56 # Minimum jtreg version
  57 requiredVersion=4.2 b12
  58 
  59 # Path to libraries in the topmost test directory. This is needed so @library
  60 # does not need ../../ notation to reach them
  61 external.lib.roots = ../../
  62 
  63 # Use new module options
  64 useNewOptions=true
  65 
  66 # Use --patch-module instead of -Xmodule:
  67 useNewPatchModule=true