1 #
  2 # Copyright (c) 2005, 2024, Oracle and/or its affiliates. All rights reserved.
  3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  4 #
  5 # This code is free software; you can redistribute it and/or modify it
  6 # under the terms of the GNU General Public License version 2 only, as
  7 # published by the Free Software Foundation.
  8 #
  9 # This code is distributed in the hope that it will be useful, but WITHOUT
 10 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
 11 # FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
 12 # version 2 for more details (a copy is included in the LICENSE file that
 13 # accompanied this code).
 14 #
 15 # You should have received a copy of the GNU General Public License version
 16 # 2 along with this work; if not, write to the Free Software Foundation,
 17 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
 18 #
 19 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
 20 # or visit www.oracle.com if you need additional information or have any
 21 # questions.
 22 #
 23 
 24 #
 25 
 26 # This file identifies the root of the test-suite hierarchy.
 27 # It also contains test-suite configuration information.
 28 
 29 # The list of keywords supported in this test suite
 30 # stress:               stress/slow test
 31 # headful:              test can be run only on headful host
 32 # intermittent:         flaky test, known to fail intermittently
 33 # randomness:           test uses randomness, test cases differ from run to run
 34 # cgroups:              test uses cgroups
 35 # flag-sensitive:       test is sensitive to certain flags and might fail when flags are passed using -vmoptions and -javaoptions
 36 # external-dep:         test requires external dependencies to work
 37 keys=stress headful intermittent randomness cgroups flag-sensitive external-dep
 38 
 39 groups=TEST.groups TEST.quick-groups
 40 
 41 # Source files for classes that will be used at the beginning of each test suite run,
 42 # to determine additional characteristics of the system for use with the @requires tag.
 43 # Note: compiled bootlibs classes will be added to BCP.
 44 requires.extraPropDefns = ../../jtreg-ext/requires/VMProps.java
 45 requires.extraPropDefns.bootlibs = ../../lib/jdk/test/whitebox
 46 requires.extraPropDefns.libs = \
 47     ../../lib/jdk/test/lib/Platform.java \
 48     ../../lib/jdk/test/lib/Container.java
 49 requires.extraPropDefns.javacOpts = --add-exports java.base/jdk.internal.foreign=ALL-UNNAMED
 50 requires.extraPropDefns.vmOpts = \
 51     -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI \
 52     --add-exports java.base/jdk.internal.foreign=ALL-UNNAMED
 53 requires.properties= \
 54     sun.arch.data.model \
 55     vm.simpleArch \
 56     vm.bits \
 57     vm.flightRecorder \
 58     vm.gc.G1 \
 59     vm.gc.Serial \
 60     vm.gc.Parallel \
 61     vm.gc.Shenandoah \
 62     vm.gc.Epsilon \
 63     vm.gc.Z \
 64     vm.gc.ZGenerational \
 65     vm.gc.ZSinglegen \
 66     vm.jvmci \
 67     vm.jvmci.enabled \
 68     vm.emulatedClient \
 69     vm.cpu.features \
 70     vm.pageSize \
 71     vm.debug \
 72     vm.hasSA \
 73     vm.hasJFR \
 74     vm.hasDTrace \
 75     vm.rtm.cpu \
 76     vm.rtm.compiler \
 77     vm.cds \
 78     vm.cds.custom.loaders \
 79     vm.cds.supports.aot.class.linking \
 80     vm.cds.write.archived.java.heap \
 81     vm.continuations \
 82     vm.jvmti \
 83     vm.graal.enabled \
 84     jdk.hasLibgraal \
 85     vm.libgraal.jit \
 86     vm.compiler1.enabled \
 87     vm.compiler2.enabled \
 88     vm.musl \
 89     vm.flagless \
 90     docker.support \
 91     systemd.support \
 92     jdk.containerized
 93 
 94 # Minimum jtreg version
 95 requiredVersion=7.4+1
 96 
 97 # Path to libraries in the topmost test directory. This is needed so @library
 98 # does not need ../../../ notation to reach them
 99 external.lib.roots = ../../../
100 
101 # Use new module options
102 useNewOptions=true
103 
104 # Use --patch-module instead of -Xmodule:
105 useNewPatchModule=true