diff options
author | Steve Capper <steve.capper@linaro.org> | 2013-04-16 10:30:32 +0100 |
---|---|---|
committer | Steve Capper <steve.capper@linaro.org> | 2013-04-16 10:30:32 +0100 |
commit | 4ae10214aad83c1344aa44e188f305db6f488926 (patch) | |
tree | 019069d82159f663391bda8fb6b155e0425ef927 /ubuntu | |
parent | 4f87efac885815d1ab42445d3cb61b0a2776f9cc (diff) |
Add libhugetlbfs unit tests.
Runs through libhugetlbfs on target system.
One needs to run with a kernel that supports huge pages.
Diffstat (limited to 'ubuntu')
-rw-r--r-- | ubuntu/libhugetlbfs.yaml | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/ubuntu/libhugetlbfs.yaml b/ubuntu/libhugetlbfs.yaml new file mode 100644 index 0000000..8f1fd73 --- /dev/null +++ b/ubuntu/libhugetlbfs.yaml @@ -0,0 +1,25 @@ +metadata: + name: libhugetlbfs + format: "Lava-Test-Shell Test Definition 1.0" + description: "Run through libhugetlbfs next branch tests." + +install: + git-repos: + - git://libhugetlbfs.git.sourceforge.net/gitroot/libhugetlbfs/libhugetlbfs + steps: + - 'cd libhugetlbfs' + - 'git checkout origin/next -b next' + - 'make' + - 'mkdir -p /mnt/huge' + deps: + - git + - git-core + - build-essential + - python + - python2.7 +run: + steps: + - 'cd libhugetlbfs' + - 'echo 200 > /proc/sys/vm/nr_hugepages' + - 'mount -t hugetlbfs hugetlbfs /mnt/huge' + - 'make check' |