8151283: Implement setting jtreg @requires property vm.isG1Supported

Reviewed-by: tschatzl, iignatyev, mchernov
This commit is contained in:
Dmitry Fazunenko 2016-06-21 18:37:04 +04:00
parent 038bf7d790
commit 708c94be94

View File

@ -33,8 +33,18 @@ groups=TEST.groups [closed/TEST.groups]
# Source files for classes that will be used at the beginning of each test suite run,
# to determine additional characteristics of the system for use with the @requires tag.
# Note: compiled bootlibs code will be located in the folder 'bootClasses'
requires.extraPropDefns = ../../test/jtreg-ext/requires/VMProps.java
requires.properties=sun.arch.data.model vm.simpleArch vm.flightRecorder
requires.extraPropDefns.bootlibs = ../../test/lib/sun
requires.extraPropDefns.vmOpts = -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Xbootclasspath/a:bootClasses
requires.properties= \
sun.arch.data.model \
vm.simpleArch \
vm.flightRecorder \
vm.gc.G1 \
vm.gc.Serial \
vm.gc.Parallel \
vm.gc.ConcMarkSweep
# Tests using jtreg 4.2 b02 features
requiredVersion=4.2 b02