blob: 274da5182fea6d5cb2d7f484b9d329fd364e428d (
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
|
metadata:
name: libhugetlbfs
format: "Lava-Test-Shell Test Definition 1.0"
description: "Run through libhugetlbfs next branch tests.
Runs through $WORD_SIZE bit libhugetlbfs on target system.
The default WORD_SIZE is 64 bit to accomodate 64 bit systems
but for 32 bit systems the WORD_SIZE value should be set to
32 from the json file passed to the scheduler.
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
- arndale
params:
WORD_SIZE: 64
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 $WORD_SIZE'
parse:
pattern: '^(?P<test_case_id>.+):\s+(?P<result>FAIL|PASS)'
fixupdict:
FAIL: fail
PASS: pass
|