summaryrefslogtreecommitdiff
path: root/openembedded/scripts/jtreg-test
AgeCommit message (Collapse)Author
2014-03-28jtreg: delay lava-test-case executionAndrew McDermott
Works around: https://bugs.launchpad.net/lava-server/+bug/1297956 Change-Id: I43094a8aea014320cc93b5d935a52023c8a11995 Signed-off-by: Andrew McDermott <andrew.mcdermott@linaro.org>
2013-12-02jtreg: modify search for test failures and test errorsAndrew McDermott
jtreg test failures are identified by 'Failed' and/or 'Error'. Adjust the grep search accordingly. Change-Id: I156c7c94284591b8c85233207be46d42de467f8e Signed-off-by: Andrew McDermott <andrew.mcdermott@linaro.org>
2013-11-26jtreg: add failed results as discrete attachmentsAndrew McDermott
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 <andrew.mcdermott@linaro.org> Change-Id: Id5e918e196892e6935b3361f822f6f129f59772c
2013-11-20Rework OpenJDK tests to invoke jtreg directlyAndrew McDermott
This commit reworks the invocation of the JTREG tests to rely on jtreg(1) directly. It was previously using the makefiles in the OpenJDK test directories but there were significant differences between the JDK Makefile and the hotspot Makefile which added unnecessary complexity, particularly as we now want to run tests against both -client and -server VMs. There are also additional parameters for specifying the test timeout and job concurrency. And I also moved the exclude file into this repo so that it can be subject to code reviews. Change-Id: Ic90df7969f862c3fc5ecb71f658601cd2e1d89ba Signed-off-by: Andrew McDermott <andrew.mcdermott@linaro.org>
2013-09-06jtreg: extract and attach summary results for hotspot testsAndrew McDermott
When a hotspot test completes the underlying JDK hotspot makefile deletes the intermediate files leaving only the ARCHIVE_BUNDLE.zip to be atached as a result of the test. Unfortunately this makes it hard to see at a glance what the outcome of the test is when browsing through the results in LAVA. This commit unzips JTreport/text/*.txt and attaches them as individual files for convenience. Signed-off-by: Andrew McDermott <andrew.mcdermott@linaro.org>
2013-09-06jtreg: attach hotspot error logs as text/plainAndrew McDermott
This makes it easier to view them in the LAVA results as you get the option of both 'download' and 'view'. Signed-off-by: Andrew McDermott <andrew.mcdermott@linaro.org>
2013-09-04jtreg: accomodate differences between jdk and hotspot testsAndrew McDermott
Also attach ARCHIVE_BUNDLE.zip, if available. It also turns out that if you test jdk_beans then the underlying JDK makefiles actually tests jdk_beans{1,2} and {1,2} become the directory names and, as a result, the test results don't get appended correctly. Updated the script to glob on the test name so that we don't have to peak too much into the JDK test machinations. Signed-off-by: Andrew McDermott <andrew.mcdermott@linaro.org>
2013-09-02jtreg: add hotspot testsAndrew McDermott
Signed-off-by: Andrew McDermott <andrew.mcdermott@linaro.org>