summaryrefslogtreecommitdiff
path: root/openembedded
diff options
context:
space:
mode:
authorStuart Haslam <stuart.haslam@linaro.org>2015-04-27 17:51:13 +0100
committerMilosz Wasilewski <milosz.wasilewski@linaro.org>2015-04-28 11:11:29 +0000
commitb129f0d8e0b4352df8dc8d8e88efc64ab9e11dfc (patch)
treeb43762b2f28f5522c9339421a35cc62f4e3474d0 /openembedded
parentdf3adea8251ac0ca7d44628d60174482a6fab2f3 (diff)
OpenEmbedded: add test to run ODP validation suite
ODP provides a set of API validation tests and a ptest wrapper to execute them all. This test definition executes that wrapper and reports individual results for each group of APIs. Change-Id: I82520224a6dd91b1ceff172c16800f9679f417e7 Signed-off-by: Stuart Haslam <stuart.haslam@linaro.org>
Diffstat (limited to 'openembedded')
-rw-r--r--openembedded/odp-validation.yaml27
1 files changed, 27 insertions, 0 deletions
diff --git a/openembedded/odp-validation.yaml b/openembedded/odp-validation.yaml
new file mode 100644
index 0000000..ad889e7
--- /dev/null
+++ b/openembedded/odp-validation.yaml
@@ -0,0 +1,27 @@
+metadata:
+ name: odp_validation
+ version: "1.0"
+ format: "Lava-Test-Shell Test Definition 1.0"
+ description: "Run ODP API validation tests on Linaro OpenEmbedded builds.
+ Note that this depends on both the odp and odp-ptest
+ packages being installed in the target rootfs."
+ maintainer:
+ - stuart.haslam@linaro.org
+ os:
+ - openembedded
+ devices:
+ - juno
+ environment:
+ - lava-test-shell
+
+run:
+ steps:
+ - cd /usr/lib/odp/ptest
+ - lava-test-case odp_validation --shell ./run-ptest
+
+parse:
+ pattern: '^(?P<result>(PASS|FAIL|SKIP)):\s+(?P<test_case_id>[a-zA-Z0-9_]+)'
+ fixupdict:
+ PASS: pass
+ FAIL: fail
+ SKIP: skip