8151283: Implement setting jtreg @requires property vm.isG1Supported.
authordfazunen
Tue, 21 Jun 2016 18:37:04 +0400
changeset 39403 37f78de0f227
parent 39402 cf2142b8d40f
child 39404 d0ad5220e91c
child 39414 4adf52148100
8151283: Implement setting jtreg @requires property vm.isG1Supported. Reviewed-by: tschatzl, iignatyev, mchernov
hotspot/test/TEST.ROOT
--- a/hotspot/test/TEST.ROOT	Tue Jun 21 12:09:36 2016 +0200
+++ b/hotspot/test/TEST.ROOT	Tue Jun 21 18:37:04 2016 +0400
@@ -33,8 +33,18 @@
 
 # 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