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.write.archived.java.heap \
 80     vm.continuations \
 81     vm.jvmti \
 82     vm.graal.enabled \
 83     jdk.hasLibgraal \
 84     vm.libgraal.jit \
 85     vm.compiler1.enabled \
 86     vm.compiler2.enabled \
 87     vm.musl \
 88     vm.flagless \
 89     docker.support \
 90     systemd.support \
 91     jdk.containerized
 92 
 93 # Minimum jtreg version
 94 requiredVersion=7.4+1
 95 
 96 # Path to libraries in the topmost test directory. This is needed so @library
 97 # does not need ../../../ notation to reach them
 98 external.lib.roots = ../../../
 99 
100 # Use new module options
101 useNewOptions=true
102 
103 # Use --patch-module instead of -Xmodule:
104 useNewPatchModule=true