summaryrefslogtreecommitdiff
path: root/ubuntu/kselftest-vm.yaml
blob: 4cb1f233e73c08f38bcd5b3e94e1ed9203ca91bc (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
metadata:
    name: kselftest-vm
    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-vm tests huge page memory in a user application using
                  the mmap and Sys V shared memory system calls. It also tests selecting other
                  page sizes for mmap/shmget and stress test for transparent huge pages, memory
                  compaction and migration."
    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 vm'
    deps:
        - build-essential

params:
    BRANCH: master

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

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