summaryrefslogtreecommitdiff
path: root/ubuntu/libhugetlbfs.yaml
blob: 3f5cbb7f913cb7927ac8de83d768253d0241a411 (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: 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:
        - git://libhugetlbfs.git.sourceforge.net/gitroot/libhugetlbfs/libhugetlbfs
    steps:
        - 'cd libhugetlbfs'
        - 'git checkout origin/next -b next'
        - 'make'
        - 'mkdir -p /mnt/huge'
    deps:
        - git
        - git-core
        - build-essential
        - python
        - python2.7
run:
    steps:
        - 'cd libhugetlbfs'
        - 'echo 200 > /proc/sys/vm/nr_hugepages'
        - 'mount -t hugetlbfs hugetlbfs /mnt/huge'
        - 'make check'