summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMilosz Wasilewski <milosz.wasilewski@linaro.org>2013-11-28 15:46:53 +0000
committerLinaro Code Review <review@review.linaro.org>2013-11-28 15:46:53 +0000
commitc6678b874642e8e7a29e0d3656697bac9b87a5c9 (patch)
treec4b3f3ebabbf19b127ff2cf0353c1985825a9290
parent40f145fa90f6b1f6a1998a528f47cfce1a77203d (diff)
parent22d51ce5c8fcfd2bb275485b0c3bbec5fcad7990 (diff)
Merge "libhugetlbfs: added parse patern and made option for word size configurable"
-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