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