diff options
author | Andrew McDermott <andrew.mcdermott@linaro.org> | 2013-12-09 11:28:28 +0000 |
---|---|---|
committer | Andrew McDermott <andrew.mcdermott@linaro.org> | 2013-12-18 09:27:49 +0000 |
commit | 97e78cfdb81b04e19bad4290af74de5cd411d77c (patch) | |
tree | 4cd69346fc067d2fd2776054ab50d773c788216c /openembedded/mauve-gnu-java.yaml | |
parent | 40eb081cdd1a4fb8a4fee095914071786cccb2d5 (diff) |
mauve: break up tests into individual files2013.12
Broke up the tests based on the top-level Java packages (see
openembedded/mauve/all-packages.txt).
Running all the Mauve tests as one single test means that if a timeout
occurs we get zero results. By having individual tests we can have much
shorter timeouts and, should a test timeout, then only that test will
have no results as opposed to Mauve in its entirety. This change also
makes it practical to schedule the tests onto more devices using
multi-node testing.
Change-Id: I310282af072f40223f0998a1f5fda79b481dd584
Signed-off-by: Andrew McDermott <andrew.mcdermott@linaro.org>
Diffstat (limited to 'openembedded/mauve-gnu-java.yaml')
-rw-r--r-- | openembedded/mauve-gnu-java.yaml | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/openembedded/mauve-gnu-java.yaml b/openembedded/mauve-gnu-java.yaml new file mode 100644 index 0000000..bb1be2f --- /dev/null +++ b/openembedded/mauve-gnu-java.yaml @@ -0,0 +1,47 @@ +# Copyright (C) 2013, Linaro Limited. +# +# PLEASE DO NOT HAND EDIT THIS FILE. +# +# This file has been auto-generated from: +# +# make-mauve-yaml-files.sh +# +# which can be found in the following repo: +# +# git://git.linaro.org/leg/openjdk/jtreg-lava-scripts +# +# PLEASE DO NOT HAND EDIT THIS FILE. +# +metadata: + name: mauve-gnu-java + format: "Lava-Test-Shell Test Definition 1.0" + description: "Regression tests for the OpenJDK platform" + version: 1.0 + maintainer: + - andrew.mcdermott@linaro.org + os: + - openembedded + scope: + - test + devices: + - rtsm_ve-armv8 +params: + JAVA_VM: -client + JAVA_PRODUCT_BINARY: /usr/lib/jvm/java-8-openjdk/bin/java +# timeout is in milliseconds + TIMEOUT: 60000 +run: + steps: + - 'echo -n "Harness VM version: "' + - 'java -version' + - 'echo -n "Product VM version: "' + - '$JAVA_PRODUCT_BINARY -version' + - 'rm -rf /tmp/mauve' + - 'ln -s $HOME/mauve /tmp/mauve' + - 'cd openembedded/scripts' + - './mauve-test-pkg gnu/testlet/gnu/java /tmp/mauve -timeout $TIMEOUT -vm $JAVA_PRODUCT_BINARY -vmarg $JAVA_VM -compile no -showpasses' +parse: + pattern: "(?P<result>(PASS|FAIL)):\\s+(?P<test_case_id>(.*))" + fixupdict: + PASS: pass + FAIL: fail |