summaryrefslogtreecommitdiff
path: root/ubuntu/acpica.yaml
diff options
context:
space:
mode:
authorArthur She <arthur.she@linaro.org>2014-06-11 10:59:15 -0700
committerMilosz Wasilewski <milosz.wasilewski@linaro.org>2014-07-02 20:46:12 +0000
commit13bb30d507d32e692642cb759d11d7463284957d (patch)
treef488652d579ecaf710c4c6462bda03ca7117c6a6 /ubuntu/acpica.yaml
parent49f2dc181dd6f19f7a2e8e3487423bd806a2b10f (diff)
ACPICA: fixed result parsing
There're test cases summary in a file named "__STATUS_OF_TESTS" located at aslts/tmp/RESULTS/<date>/[norm|slack]/[32|64]. Turned them into LAVA test results. Change-Id: I14275648c4f790b970b2c29c30da91950e931325
Diffstat (limited to 'ubuntu/acpica.yaml')
-rw-r--r--ubuntu/acpica.yaml47
1 files changed, 36 insertions, 11 deletions
diff --git a/ubuntu/acpica.yaml b/ubuntu/acpica.yaml
index 3a022ed..a73f278 100644
--- a/ubuntu/acpica.yaml
+++ b/ubuntu/acpica.yaml
@@ -1,9 +1,28 @@
metadata:
name: acpica
format: "Lava-Test-Shell Test Definition 1.0"
- description: "ACPI ASL on ARMv7 - https://wiki.linaro.org/LEG/Engineering/test-acpi#ASLTS_-_ASL_Test_Suite"
+ description:
+ "ACPI ASL on ARMv7/ARMv8 - https://wiki.linaro.org/LEG/Engineering/test-acpi#ASLTS_-_ASL_Test_Suite
+ There're 4 test modes (n32, n64, s32, s64). By default, we run test mode 'n64'
+ The test mode can be specified by test job parameter:
+ {
+ 'command': 'lava_test_shell',
+ 'parameters': {
+ 'testdef_repos': [
+ {
+ 'git-repo': 'git://git.linaro.org/qa/test-definitions.git',
+ 'parameters': {
+ 'TESTMODE': 's64'
+ },
+ 'testdef': 'ubuntu/acpica.yaml'
+ }
+ ],
+ 'timeout': 172800
+ }
+ }"
maintainer:
- naresh.bhat@linaro.org
+ - arthur.she@linaro.org
os:
- ubuntu
devices:
@@ -13,7 +32,7 @@ metadata:
install:
git-repos:
- - git://git.linaro.org/people/al.stone/acpica.git
+ - git://git.linaro.org/leg/acpica/acpica.git
steps:
- 'cd acpica'
- 'git branch linaro origin/linaro'
@@ -26,17 +45,23 @@ install:
- flex
- bison
- build-essential
+
+params:
+ TESTMODE: n64
+
run:
steps:
- - 'cd acpica/tests/'
- - 'sudo ./aslts.sh'
+ - "cd acpica/tests/"
+ - "lava-test-case acpica --shell sudo ./aslts.sh -m $TESTMODE"
+ - "../../ubuntu/scripts/acpica-parser.sh ."
+ - "cd aslts/tmp/RESULTS/*; tar zcf result.tar.gz *"
+ - "lava-test-case-attach acpica result.tar.gz"
+
parse:
- pattern: "^(?P<test_case_id>\\S+)\\s+\\d+\\s+(?P<result>\\w+)\\s+:\\s+.+"
+ pattern: "(?P<test_case_id>[ :a-zA-Z0-9-]+):(?P<result>PASS|FAIL|SKIPPED|BLOCKED)"
fixupdict:
- TBROK: fail
- TCONF: skip
- TFAIL: fail
- TINFO: unknown
- TPASS: pass
- TWARN: unknown
+ SKIPPED: skip
+ FAIL: fail
+ PASS: pass
+ BLOCKED: unknown