summaryrefslogtreecommitdiff
path: root/ubuntu/odp-tests.yaml
blob: 43a8a13d9eff1faa1fec8473993a38d0bcedc567 (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
metadata:
    name: odp_tests
    version: "1.0"
    format: "Lava-Test-Shell Test Definition 1.0"
    description: "Run all ODPs tests."
    maintainer:
        - anders.roxell@linaro.org
    os:
        - 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 ${CONFIG_OPTIONS}
        - make -j

params:
    ODP_BRANCH: master
    CONFIG_OPTIONS: --enable-test-cpp --enable-test-example --enable-test-helper --enable-test-vald --enable-test-perf

run:
    steps:
        - cd odp
        - lava-test-case odp_validation --shell make check

parse:
    pattern: '^(?P<result>(PASS|FAIL|SKIP)):\s+(?P<test_case_id>[a-zA-Z0-9_]+)'
    fixupdict:
        PASS: pass
        FAIL: fail
        SKIP: skip