summaryrefslogtreecommitdiff
path: root/ubuntu/kselftest-efivarfs.yaml
blob: 2803727067b1f22904a126c37c445622d7cfe92d (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
metadata:
    name: kselftest-efivarfs
    format: "Lava-Test-Shell Test Definition 1.0"
    description:
        "These test code were came from kernel source KERNEL_SRC/tools/testing/selftests/
         For running this test, git is required in the rootfs"
    maintainer:
        - arthur.she@linaro.org
    os:
        - ubuntu
    devices:
        - arndale
        - beaglebone-black
        - rtsm_fvp_base-aemv8a
    scope:
        - functional

install:
    git-repos:
        - http://git.linaro.org/qa/kselftest.git
    steps:
        - 'cd kselftest'
        - 'git checkout $BRANCH'
        - 'make -C efivarfs'
    deps:
        - git
        - build-essential

params:
    BRANCH: master

run:
    steps:
        - './common/scripts/kselftest-runner.sh efivarfs ./kselftest/efivarfs/efivarfs.sh'

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