summaryrefslogtreecommitdiff
path: root/ubuntu/kselftest-ptrace.yaml
blob: 7e3244cc9b82bde68dbe76c3a514b2e31eddcee1 (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
metadata:
    name: kselftest-ptrace
    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. kself-ptrace 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:
        - 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'
        - 'sed -i "1s/^/CFLAGS = -DPAGE_SIZE=4096\n/" ptrace/Makefile'
        - 'make -C ptrace'
    deps:
        - build-essential

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)"