summaryrefslogtreecommitdiff
path: root/common/odp-validation.yaml
diff options
context:
space:
mode:
authorAnders Roxell <anders.roxell@linaro.org>2016-01-15 18:29:25 +0100
committerAnders Roxell <anders.roxell@linaro.org>2016-04-14 14:14:59 +0200
commit6bdc7ff82364bdd753e216af46855a6cba9f62a0 (patch)
tree97ee94e36f9e3516c0c636450298c94bb26739ec /common/odp-validation.yaml
parent9a8ee58df8939cfcfd08aeb0324f9625a2b7d8ff (diff)
downloadtest-definitions-pipe-6bdc7ff82364bdd753e216af46855a6cba9f62a0.tar.gz
ubuntu: add odp-validation
Change-Id: Ic72c53c82e41d6b8fcedba86bcbc199be26d6d7d Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
Diffstat (limited to 'common/odp-validation.yaml')
-rw-r--r--common/odp-validation.yaml58
1 files changed, 58 insertions, 0 deletions
diff --git a/common/odp-validation.yaml b/common/odp-validation.yaml
new file mode 100644
index 0000000..087a9c1
--- /dev/null
+++ b/common/odp-validation.yaml
@@ -0,0 +1,58 @@
+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
+ - anders.roxell@linaro.org
+ os:
+ - openembedded
+ - debian
+ - ubuntu
+ devices:
+ - juno
+ - arndale
+ - x86
+ scope:
+ - functional
+ environment:
+ - lava-test-shell
+
+install:
+ deps:
+ - build-essential
+ - automake
+ - autoconf
+ - libtool
+ - libssl-dev
+ - libcunit1-dev
+ git-repos:
+ - url: git://git.linaro.org/lng/odp.git
+ destination: odp
+ branch: ${ODP_BRANCH}
+ steps:
+ - cd odp
+ - ./bootstrap
+ - autoreconf -i
+ - ./configure --enable-test-vald --enable-test-perf --with-testdir=/usr/lib/odp/ptest/test
+ - make install
+ - cd /usr/lib/odp/ptest
+ - ln -s test/run-test run-ptest
+
+params:
+ ODP_BRANCH: master
+
+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