summaryrefslogtreecommitdiff
path: root/openembedded/openvswitch-lng.yaml
blob: 17c6022a54b4ddabfe2af8372081047010ef3727 (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
metadata:
    name: openvswitch-lng
    format: "Lava-Test-Shell Test Definition 1.0"
    description: "Build and run OVS testsuite."
    maintainer:
        - zishen.lim@linaro.org
    os:
        - openembedded
    devices:
        - arndale
    scope:
        - functional

install:
    deps:
        - git
        - build-essential
        - automake
        - libtool
        - python
    git-repos:
        - git://git.linaro.org/people/zishen.lim/openvswitch.git
    steps:
        - 'cd openvswitch'
        - 'autoreconf --install --force'
        - './configure'
        - 'make'

run:
    steps:
        - 'cd openvswitch'
        - 'git clone --depth 1 git://git.linaro.org/people/zishen.lim/ci.git ci'
        - 'ci/openvswitch-run.sh'

# We use openvswitch-run.sh (above) to run the testsuite,
# parse the testsuite results and output the results
# in a clean form that can be easily parsed by LAVA (below).

parse:
    pattern: "^(?P<result>(PASS|FAIL|SKIP)):\\s+(?P<test_case_id>.+)"
    fixupdict:
        PASS: pass
        FAIL: fail
        SKIP: skip