summaryrefslogtreecommitdiff
path: root/openembedded/mauve-java-awt.yaml
diff options
context:
space:
mode:
authorAndrew McDermott <andrew.mcdermott@linaro.org>2013-12-09 11:28:28 +0000
committerAndrew McDermott <andrew.mcdermott@linaro.org>2013-12-18 09:27:49 +0000
commit97e78cfdb81b04e19bad4290af74de5cd411d77c (patch)
tree4cd69346fc067d2fd2776054ab50d773c788216c /openembedded/mauve-java-awt.yaml
parent40eb081cdd1a4fb8a4fee095914071786cccb2d5 (diff)
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 <andrew.mcdermott@linaro.org>
Diffstat (limited to 'openembedded/mauve-java-awt.yaml')
-rw-r--r--openembedded/mauve-java-awt.yaml53
1 files changed, 53 insertions, 0 deletions
diff --git a/openembedded/mauve-java-awt.yaml b/openembedded/mauve-java-awt.yaml
new file mode 100644
index 0000000..320ea37
--- /dev/null
+++ b/openembedded/mauve-java-awt.yaml
@@ -0,0 +1,53 @@
+# 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-awt
+ 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'
+ - 'DISPLAY=:10'
+ - 'export DISPLAY'
+ - 'Xvfb $DISPLAY &'
+ - 'XVFBPID=$!'
+ - 'sleep 30'
+ - './mauve-test-pkg gnu/testlet/java/awt /tmp/mauve -timeout $TIMEOUT -vm $JAVA_PRODUCT_BINARY -vmarg $JAVA_VM -compile no -showpasses'
+ - 'kill $XVFBPID'
+parse:
+ pattern: "(?P<result>(PASS|FAIL)):\\s+(?P<test_case_id>(.*))"
+ fixupdict:
+ PASS: pass
+ FAIL: fail