From 40f145fa90f6b1f6a1998a528f47cfce1a77203d Mon Sep 17 00:00:00 2001 From: Andrew McDermott Date: Tue, 26 Nov 2013 19:11:52 +0000 Subject: jtreg: add failed results as discrete attachments For each test that fails add the corresponding .jtr (jtreg result) for easier observation from the LAVA dashboard. Also attach a zip of the JTwork and JTreport directory sans the class files. This zip is now attached directly to the overall LAVA test using lava-test-run-attach. The overall execution is now run using jtreg and the results are then parsed and analysed for success/fail. Signed-off-by: Andrew McDermott Change-Id: Id5e918e196892e6935b3361f822f6f129f59772c --- openembedded/jtreg-hotspot-runtime.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'openembedded/jtreg-hotspot-runtime.yaml') diff --git a/openembedded/jtreg-hotspot-runtime.yaml b/openembedded/jtreg-hotspot-runtime.yaml index ab51dde..4459ab2 100644 --- a/openembedded/jtreg-hotspot-runtime.yaml +++ b/openembedded/jtreg-hotspot-runtime.yaml @@ -42,7 +42,7 @@ run: - '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^(Passed|FAILED)):\\s+(?P(.*))" + pattern: "(?P^(JTREG-SUCCESS|JTREG-FAIL))\\s+(?P(.*))" fixupdict: - Passed: pass - FAILED: fail + JTREG-SUCCESS: pass + JTREG-FAIL: fail -- cgit v1.2.3