summaryrefslogtreecommitdiff
path: root/openembedded/jtreg-hotspot-runtime.yaml
diff options
context:
space:
mode:
authorAndrew McDermott <andrew.mcdermott@linaro.org>2013-11-14 15:11:19 +0000
committerAndrew McDermott <andrew.mcdermott@linaro.org>2013-11-20 11:46:06 +0000
commit751be8e82a104ad60e7fa67227cff2bc6e10a01a (patch)
treef748d43b2adbc3c0ac77b8995b13412cef8884be /openembedded/jtreg-hotspot-runtime.yaml
parentd79a15befea960cc4eac564807aea79a2162bfce (diff)
Rework OpenJDK tests to invoke jtreg directly
This commit reworks the invocation of the JTREG tests to rely on jtreg(1) directly. It was previously using the makefiles in the OpenJDK test directories but there were significant differences between the JDK Makefile and the hotspot Makefile which added unnecessary complexity, particularly as we now want to run tests against both -client and -server VMs. There are also additional parameters for specifying the test timeout and job concurrency. And I also moved the exclude file into this repo so that it can be subject to code reviews. Change-Id: Ic90df7969f862c3fc5ecb71f658601cd2e1d89ba Signed-off-by: Andrew McDermott <andrew.mcdermott@linaro.org>
Diffstat (limited to 'openembedded/jtreg-hotspot-runtime.yaml')
-rw-r--r--openembedded/jtreg-hotspot-runtime.yaml22
1 files changed, 19 insertions, 3 deletions
diff --git a/openembedded/jtreg-hotspot-runtime.yaml b/openembedded/jtreg-hotspot-runtime.yaml
index c32dcff..ab51dde 100644
--- a/openembedded/jtreg-hotspot-runtime.yaml
+++ b/openembedded/jtreg-hotspot-runtime.yaml
@@ -25,8 +25,24 @@ metadata:
- test
devices:
- rtsm_ve-armv8
+params:
+ - 'JAVA_VM=-client'
+ - 'JTREG_VERBOSE=-v1'
+ - 'JTREG_CONC=-conc:1'
+ - 'JTREG_TIMEOUT=-timeout:3'
+ - 'JTREG_EXCLUDE_FILE=../jtreg/exclude.txt'
+ - 'PRODUCT_HOME=/usr/lib/jvm/java-8-openjdk'
+install:
+ git-repos:
+ - git://git.linaro.org/leg/openjdk/jtreg-bin.git
+ - git://git.linaro.org/qa/test-definitions.git
run:
steps:
- - 'source $HOME/jtreg-setup.env'
- - 'cd $JTREG_TESTRUN_ID/test-definitions/openembedded/scripts'
- - 'TESTDIRS=runtime ./jtreg-test $HOTSPOT_TEST_DIR runtime'
+ - 'PATH=/lava/tests/$TESTRUN_ID/jtreg-bin/jtreg/linux/bin:$PATH'
+ - 'cd /lava/tests/$TESTRUN_ID/test-definitions/openembedded/scripts'
+ - './jtreg-test -t hotspot-runtime -j $JAVA_VM -p $PRODUCT_HOME -- $JTREG_CONC $JTREG_TEST_MODE $JTREG_TIMEOUT -exclude:$JTREG_EXCLUDE_FILE $JTREG_VERBOSE $PRODUCT_HOME/jtreg/hotspot/test/runtime'
+parse:
+ pattern: "(?P<result>^(Passed|FAILED)):\\s+(?P<test_case_id>(.*))"
+ fixupdict:
+ Passed: pass
+ FAILED: fail