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# A test flagged with cgroups uses cgroups.
17
18keys=2d dnd headful i18n intermittent printer randomness jfr cgroups
19
20# Tests that must run in othervm mode
21othervm.dirs=java/awt java/beans javax/accessibility javax/imageio javax/sound javax/swing javax/print \
22com/apple/laf com/apple/eawt com/sun/java/accessibility com/sun/java/swing sanity/client demo/jfc \
23javax/management sun/awt sun/java2d javax/xml/jaxp/testng/validation java/lang/ProcessHandle
24
25# Tests that cannot run concurrently
26exclusiveAccess.dirs=java/math/BigInteger/largeMemory \
27java/rmi/Naming java/util/prefs sun/management/jmxremote \
28sun/tools/jstatd sun/tools/jcmd \
29sun/tools/jinfo sun/tools/jmap sun/tools/jps sun/tools/jstack sun/tools/jstat \
30com/sun/tools/attach sun/security/mscapi java/util/stream java/util/Arrays/largeMemory \
31java/util/BitSet/stream javax/rmi
32
33# Group definitions
34groups=TEST.groups
35
36# Allow querying of various System properties in @requires clauses
37#
38# Source files for classes that will be used at the beginning of each test suite run,
39# to determine additional characteristics of the system for use with the @requires tag.
40# Note: compiled bootlibs classes will be added to BCP.
41requires.extraPropDefns = ../jtreg-ext/requires/VMProps.java
42requires.extraPropDefns.bootlibs = ../lib/sun
43requires.extraPropDefns.libs = \
44    ../lib/jdk/test/lib/Platform.java \
45    ../lib/jdk/test/lib/Container.java
46requires.extraPropDefns.vmOpts = -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI
47requires.properties= \
48    sun.arch.data.model \
49    java.runtime.name \
50    vm.gc.G1 \
51    vm.gc.Serial \
52    vm.gc.Parallel \
53    vm.gc.Shenandoah \
54    vm.gc.Epsilon \
55    vm.gc.Z \
56    vm.graal.enabled \
57    vm.compiler1.enabled \
58    vm.compiler2.enabled \
59    vm.cds \
60    vm.musl \
61    vm.debug \
62    vm.hasSA \
63    vm.hasJFR \
64    vm.jvmci \
65    docker.support \
66    release.implementor \
67    jdk.containerized
68
69# Minimum jtreg version
70requiredVersion=5.1 b1
71
72# Path to libraries in the topmost test directory. This is needed so @library
73# does not need ../../ notation to reach them
74external.lib.roots = ../../
75
76# Use new module options
77useNewOptions=true
78
79# Use --patch-module instead of -Xmodule:
80useNewPatchModule=true
81