aboutsummaryrefslogtreecommitdiff
path: root/jdk10-jtreg-test.yaml
diff options
context:
space:
mode:
authorStuart Monteith <stuart.monteith@linaro.org>2017-09-13 20:00:13 +0100
committerStuart Monteith <stuart.monteith@linaro.org>2017-09-13 20:00:13 +0100
commit60ee0caff5c399eefada168fc76af8de2c901638 (patch)
treef08c41b73305433c4b00ea8a09f0c9f2ee42c231 /jdk10-jtreg-test.yaml
parentac60224ed88ad1fb70601dbd0f3e63a13ae4da67 (diff)
downloadconfigs-60ee0caff5c399eefada168fc76af8de2c901638.tar.gz
jdk: Add jcstress to JTregs run for JDK10
JTReg will try to run jcstress tests on JDK10 onwards. This doesn't remove the jcstress or the separate reporting. It's ugly, inefficient and doesn't help analysis of problems, but this is an experiment to measure the execution time. Change-Id: I4b4925ddfd611d0d5ff3fc631444dcafaa9304bb
Diffstat (limited to 'jdk10-jtreg-test.yaml')
-rw-r--r--jdk10-jtreg-test.yaml8
1 files changed, 8 insertions, 0 deletions
diff --git a/jdk10-jtreg-test.yaml b/jdk10-jtreg-test.yaml
index a99636107..75d8d5dd8 100644
--- a/jdk10-jtreg-test.yaml
+++ b/jdk10-jtreg-test.yaml
@@ -81,6 +81,11 @@
filter: 'out/jdk10.tar.gz, out/build-date.sh'
target: incoming
flatten: true
+ - copyartifact:
+ project: jcstress-build
+ filter: 'tests-all/target/jcstress.jar'
+ target: incoming
+ flatten: true
- shell: |
#!/bin/bash
@@ -97,6 +102,7 @@
IMAGE_DIR=${WORKSPACE}/jdk10-${REAL_VARIANT}-${BUILD_TYPE}
PERSIST=$HOME/srv/openjdk10
+ JCSTRESS=$PWD/incoming/jcstress.jar
# Only set =1 for debugging.
use_subcategories=0
@@ -188,6 +194,7 @@
if [ $JVM_VARIANT = "server" ]; then
java -jar jtreg/lib/jtreg.jar \
-dir:${src_dir}/${JTREG_CATEGORY}/test \
+ -vmoption:-Djdk.test.lib.artifacts.jcstress-tests-all=$JCSTRESS \
-vmoption:-XX:-TieredCompilation \
-testjdk:${IMAGE_DIR} \
-exclude:${blacklist} \
@@ -200,6 +207,7 @@
else
java -jar jtreg/lib/jtreg.jar \
-dir:${src_dir}/${JTREG_CATEGORY}/test \
+ -vmoption:-Djdk.test.lib.artifacts.jcstress-tests-all=$JCSTRESS \
-vmoption:-XX:+TieredCompilation \
-vmoption:-XX:TieredStopAtLevel=1 \
-testjdk:${IMAGE_DIR} \