From 97e78cfdb81b04e19bad4290af74de5cd411d77c Mon Sep 17 00:00:00 2001 From: Andrew McDermott Date: Mon, 9 Dec 2013 11:28:28 +0000 Subject: mauve: break up tests into individual files 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 --- openembedded/mauve-java-sql.yaml | 47 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 openembedded/mauve-java-sql.yaml (limited to 'openembedded/mauve-java-sql.yaml') diff --git a/openembedded/mauve-java-sql.yaml b/openembedded/mauve-java-sql.yaml new file mode 100644 index 0000000..a042743 --- /dev/null +++ b/openembedded/mauve-java-sql.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-java-sql + 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/java/sql /tmp/mauve -timeout $TIMEOUT -vm $JAVA_PRODUCT_BINARY -vmarg $JAVA_VM -compile no -showpasses' +parse: + pattern: "(?P(PASS|FAIL)):\\s+(?P(.*))" + fixupdict: + PASS: pass + FAIL: fail -- cgit v1.2.3