summaryrefslogtreecommitdiff
path: root/ubuntu/libhugetlbfs.yaml
blob: 2140349828b621bee090b18da5d1962084a9cbe3 (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
45
46
47
48
49
metadata:
    name: libhugetlbfs
    format: "Lava-Test-Shell Test Definition 1.0"
    description: "libhugetlbfs is a library that can back application text, data, malloc() and
                  shared memory with hugepages. The test runs through libhugetlbfs next branch
                  tests and currently supports 32bit ubuntu system."
    maintainer:
        - steve.capper@linaro.org
    os:
        - ubuntu
    scope:
        - functional
    devices:
        - panda
        - panda-es
        - arndale
        - vexpress-a9
        - vexpress-tc2
        - juno

install:
    git-repos:
        - url: git://libhugetlbfs.git.sourceforge.net/gitroot/libhugetlbfs/libhugetlbfs
          branch: BRANCH
    steps:
        - 'cd libhugetlbfs'
        - 'find . | xargs touch'
        - 'make'
        - 'mkdir -p /mnt/huge'
    deps:
        - build-essential
        - python
        - python2.7

params:
    BRANCH: next

run:
    steps:
        - 'cd libhugetlbfs'
        - 'echo 200 > /proc/sys/vm/nr_hugepages'
        - 'mount -t hugetlbfs hugetlbfs /mnt/huge'
        - 'make check'

parse:
    pattern: '^(?P<test_case_id>.+):\s+(?P<result>FAIL|PASS)'
    fixupdict:
        FAIL: fail
        PASS: pass