summaryrefslogtreecommitdiff
path: root/common/odp-validation.yaml
blob: f1201b17d2c74e90b81a8857150b1147671143d2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
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:
        - git
        - 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 --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