metadata: name: libhugetlbfs format: "Lava-Test-Shell Test Definition 1.0" description: "Run through libhugetlbfs next branch tests. 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 OpenEmbedded builds)." maintainer: - steve.capper@linaro.org os: - openembedded scope: - functional devices: - rtsm_ve-armv8 - arndale params: WORD_SIZE: 64 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 $WORD_SIZE' parse: pattern: '^(?P.+):\s+(?PFAIL|PASS)' fixupdict: FAIL: fail PASS: pass