summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStuart Haslam <stuart.haslam@arm.com>2015-03-11 12:07:21 +0000
committerStuart Haslam <stuart.haslam@arm.com>2015-03-11 12:07:21 +0000
commit7e02b448d69f2938393e9f56ead835e9368be9b8 (patch)
treeccb7a653152eec7464d550f39f61ad7d653359d7
parent915e57188b43b15844a547f342e40dd0c7397af4 (diff)
test definition for running ODP validation
-rw-r--r--openembedded/odp-scheduling.yaml27
-rw-r--r--openembedded/odp-validation.yaml24
2 files changed, 24 insertions, 27 deletions
diff --git a/openembedded/odp-scheduling.yaml b/openembedded/odp-scheduling.yaml
deleted file mode 100644
index 2cc882f..0000000
--- a/openembedded/odp-scheduling.yaml
+++ /dev/null
@@ -1,27 +0,0 @@
-metadata:
- name: odp_perf_scheduling
- version: "1.0"
- format: "Lava-Test-Shell Test Definition 1.0"
- description: "Run odp_scheduling test on Linaro OpenEmbedded builds."
- maintainer:
- - stuart.haslam@linaro.org
- os:
- - openembedded
- devices:
- - juno
- environment:
- - lava-test-shell
-
-install:
- git-repos:
- - git://git.linaro.org/lng/odp.git
- steps:
- - 'cd odp'
- - './bootstrap'
- - './configure --enable-test-vald --enable-test-perf'
- - 'make'
- - 'make install'
-
-run:
- steps:
- - lava-test-case odp_scheduling --shell odp_scheduling
diff --git a/openembedded/odp-validation.yaml b/openembedded/odp-validation.yaml
new file mode 100644
index 0000000..f992b1f
--- /dev/null
+++ b/openembedded/odp-validation.yaml
@@ -0,0 +1,24 @@
+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."
+ maintainer:
+ - stuart.haslam@linaro.org
+ os:
+ - openembedded
+ devices:
+ - juno
+ environment:
+ - lava-test-shell
+
+run:
+ steps:
+ - lava-test-case odp_validation --shell /usr/lib/odp/ptest/run-ptest -v
+
+parse:
+ pattern: '^(?P<result>(PASS|FAIL|SKIP)):\s+(?P<test_case_id>[a-zA-Z_]+)'
+ fixupdict:
+ PASS: pass
+ FAIL: fail
+ SKIP: skip