summaryrefslogtreecommitdiff
path: root/openembedded/jtreg-hotspot-serviceability.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'openembedded/jtreg-hotspot-serviceability.yaml')
-rw-r--r--openembedded/jtreg-hotspot-serviceability.yaml22
1 files changed, 19 insertions, 3 deletions
diff --git a/openembedded/jtreg-hotspot-serviceability.yaml b/openembedded/jtreg-hotspot-serviceability.yaml
index 72e7a1a..ed6a221 100644
--- a/openembedded/jtreg-hotspot-serviceability.yaml
+++ b/openembedded/jtreg-hotspot-serviceability.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=serviceability ./jtreg-test $HOTSPOT_TEST_DIR serviceability'
+ - 'PATH=/lava/tests/$TESTRUN_ID/jtreg-bin/jtreg/linux/bin:$PATH'
+ - 'cd /lava/tests/$TESTRUN_ID/test-definitions/openembedded/scripts'
+ - './jtreg-test -t hotspot-serviceability -j $JAVA_VM -p $PRODUCT_HOME -- $JTREG_CONC $JTREG_TEST_MODE $JTREG_TIMEOUT -exclude:$JTREG_EXCLUDE_FILE $JTREG_VERBOSE $PRODUCT_HOME/jtreg/hotspot/test/serviceability'
+parse:
+ pattern: "(?P<result>^(Passed|FAILED)):\\s+(?P<test_case_id>(.*))"
+ fixupdict:
+ Passed: pass
+ FAILED: fail