summaryrefslogtreecommitdiff
path: root/ubuntu/kselftest-net.yaml
blob: 924a9c0224c74e54a74d68e686469dd0bcd3b675 (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
metadata:
    name: kselftest-net
    format: "Lava-Test-Shell Test Definition 1.0"
    description: "The kernel contains a set of 'self tests' under the tools/testing/selftests/.
                  These are intended to be small unit tests to exercise individual code paths
                  in the kernel. kselftest-net is a basic test of packet socket fanout and socket's
                  TPACKET_V1/TPACKET_V2/TPACKET_V3 behavior."
    maintainer:
        - arthur.she@linaro.org
    os:
        - ubuntu
    devices:
        - arndale
        - beaglebone-black
        - rtsm_fvp_base-aemv8a
        - juno
    scope:
        - functional

install:
    git-repos:
        - url: http://git.linaro.org/qa/kselftest.git
          branch: BRANCH
    steps:
        - 'cd kselftest'
        - 'make -C net'
    deps:
        - build-essential

params:
    BRANCH: master

run:
    steps:
        - 'cd kselftest/net'
        - '../../common/scripts/kselftest-runner.sh net "make run_tests"'

parse:
    pattern: "^(?P<test_case_id>[a-z_ ]+):\\s\\[(?P<result>PASS|FAIL|SKIP)\\]"