summaryrefslogtreecommitdiff
path: root/ubuntu/libhugetlbfs.yaml
diff options
context:
space:
mode:
authorArthur She <arthur.she@linaro.org>2015-03-06 22:25:42 -0800
committerMilosz Wasilewski <milosz.wasilewski@linaro.org>2015-03-24 08:25:17 +0000
commit35b0474cee5f3f4aea1e2b5196c721793523a1d1 (patch)
treef625f52e961f0df627042ca011e26dbc75baf734 /ubuntu/libhugetlbfs.yaml
parentacf8da4f666a54c7eceb55491b3d90454e8349d0 (diff)
Using 'branch' statement in git-repos session to checkout
specific branch of test code Change-Id: Ifacd74079b1999709e0c34d5bac7bb09891a5a7c
Diffstat (limited to 'ubuntu/libhugetlbfs.yaml')
-rw-r--r--ubuntu/libhugetlbfs.yaml17
1 files changed, 13 insertions, 4 deletions
diff --git a/ubuntu/libhugetlbfs.yaml b/ubuntu/libhugetlbfs.yaml
index 3f5cbb7..2140349 100644
--- a/ubuntu/libhugetlbfs.yaml
+++ b/ubuntu/libhugetlbfs.yaml
@@ -20,21 +20,30 @@ metadata:
install:
git-repos:
- - git://libhugetlbfs.git.sourceforge.net/gitroot/libhugetlbfs/libhugetlbfs
+ - url: git://libhugetlbfs.git.sourceforge.net/gitroot/libhugetlbfs/libhugetlbfs
+ branch: BRANCH
steps:
- 'cd libhugetlbfs'
- - 'git checkout origin/next -b next'
+ - 'find . | xargs touch'
- 'make'
- 'mkdir -p /mnt/huge'
deps:
- - git
- - git-core
- build-essential
- python
- python2.7
+
+params:
+ BRANCH: next
+
run:
steps:
- 'cd libhugetlbfs'
- 'echo 200 > /proc/sys/vm/nr_hugepages'
- 'mount -t hugetlbfs hugetlbfs /mnt/huge'
- 'make check'
+
+parse:
+ pattern: '^(?P<test_case_id>.+):\s+(?P<result>FAIL|PASS)'
+ fixupdict:
+ FAIL: fail
+ PASS: pass