summaryrefslogtreecommitdiff
path: root/openembedded/libhugetlbfs.yaml
blob: c39fefe16059ff9fea770d8a27ab5d0c12efbd21 (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
metadata:
    name: libhugetlbfs-oe
    format: "Lava-Test-Shell Test Definition 1.0"
    description: "Run through libhugetlbfs next branch tests. 
                  Runs through 64 bit libhugetlbfs on target system. 
                  One needs to run with a kernel that supports huge pages, 
                  also the OpenEmbedded system needs to have the libhugetlbfs 
                  test suite pre-installed. (Which is the case for recent 
                  OpenEmbedded builds)."
    maintainer:
        - steve.capper@linaro.org
    os:
        - openembedded
    scope:
        - functional
    devices:
        - rtsm_ve-armv8

run:
    steps:
        - 'echo 200 > /proc/sys/vm/nr_hugepages'
        - 'mkdir /mnt/huge'
        - 'mount -t hugetlbfs hugetlbfs /mnt/huge'
        - 'cd /usr/lib/libhugetlbfs/tests'
        - './run_tests.py -p $((2 * 1024 * 1024)) -b 64'