summaryrefslogtreecommitdiff
path: root/openembedded
diff options
context:
space:
mode:
authorSteve Capper <steve.capper@linaro.org>2013-09-04 14:52:55 +0100
committerSteve Capper <steve.capper@linaro.org>2013-09-04 16:27:26 +0100
commit77a72395592f261635de41384e9fd6b0d31a55ab (patch)
tree54ceb49caa82756f419396e1eff401d6b5c626cb /openembedded
parent5f668f19d462c01f6f2315f19710d772f3d34020 (diff)
libhugetlbfs: Add aarch64 unit tests
Runs through 64 bit libhugetlbfs on target system. 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).
Diffstat (limited to 'openembedded')
-rw-r--r--openembedded/libhugetlbfs.yaml12
1 files changed, 12 insertions, 0 deletions
diff --git a/openembedded/libhugetlbfs.yaml b/openembedded/libhugetlbfs.yaml
new file mode 100644
index 0000000..207894a
--- /dev/null
+++ b/openembedded/libhugetlbfs.yaml
@@ -0,0 +1,12 @@
+metadata:
+ name: libhugetlbfs
+ format: "Lava-Test-Shell Test Definition 1.0"
+ description: "Run through libhugetlbfs next branch tests."
+
+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 64'