summaryrefslogtreecommitdiff
path: root/openembedded/kselftest-ptrace.yaml
blob: 1eb37c3f610d9c8f2f770d60075622de114e1f19 (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
metadata:
    name: kselftest-ptrace
    format: "Lava-Test-Shell Test Definition 1.0"
    description: "Linux kernel Kselftest-ptrace test for Linaro OpenEmbedded builds. The kernel contains
                  a set of 'self tests' under the tools/testing/selftests/ directory. These are intended
                  to be small unit tests to exercise individual code paths. kself-ptrace test uses ptrace
                  or process trace system call that provides a means by which, one process can observe and
                  control the execution of another process and examine and change the tracee's memory and
                  registers."
    maintainer:
        - arthur.she@linaro.org
    os:
        - openembedded
    devices:
        - arndale
        - beaglebone-black
        - rtsm_fvp_base-aemv8a
        - juno
    scope:
        - functional

install:
    git-repos:
        - http://git.linaro.org/qa/kselftest.git
    steps:
        - 'cd kselftest'
        - 'git checkout $BRANCH'
        - 'sed -i "1s/^/CFLAGS = -DPAGE_SIZE=4096\n/" ptrace/Makefile'
        - 'make -C ptrace'
params:
    BRANCH: master

run:
    steps:
        - './kselftest/ptrace/peeksiginfo && echo "peeksiginfo selftests: pass" || echo "peeksiginfo selftests: fail"'

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