summaryrefslogtreecommitdiff
path: root/openembedded
diff options
context:
space:
mode:
authorCiprian Barbu <ciprian.barbu@linaro.org>2013-11-05 16:02:58 +0200
committerCiprian Barbu <ciprian.barbu@linaro.org>2013-11-18 15:00:24 +0200
commit22d51ce5c8fcfd2bb275485b0c3bbec5fcad7990 (patch)
treec6ab367c6fe6e76d693f40959b6af6e1ff322a0a /openembedded
parentd79a15befea960cc4eac564807aea79a2162bfce (diff)
libhugetlbfs: added parse patern and made option for word size configurable
Change-Id: I73a1f3d6cfc8e608d8917d65b7bea650a9af0bf9
Diffstat (limited to 'openembedded')
-rw-r--r--openembedded/libhugetlbfs.yaml17
1 files changed, 15 insertions, 2 deletions
diff --git a/openembedded/libhugetlbfs.yaml b/openembedded/libhugetlbfs.yaml
index 168756a..875662e 100644
--- a/openembedded/libhugetlbfs.yaml
+++ b/openembedded/libhugetlbfs.yaml
@@ -2,7 +2,10 @@ metadata:
name: libhugetlbfs
format: "Lava-Test-Shell Test Definition 1.0"
description: "Run through libhugetlbfs next branch tests.
- Runs through 64 bit libhugetlbfs on target system.
+ 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
@@ -15,6 +18,10 @@ metadata:
- functional
devices:
- rtsm_ve-armv8
+ - arndale
+
+params:
+ - "WORD_SIZE=64"
run:
steps:
@@ -22,4 +29,10 @@ run:
- 'mkdir /mnt/huge'
- 'mount -t hugetlbfs hugetlbfs /mnt/huge'
- 'cd /usr/lib/libhugetlbfs/tests'
- - './run_tests.py -p $((2 * 1024 * 1024)) -b 64'
+ - './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