summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/lib/bitmap.sh
AgeCommit message (Collapse)AuthorFilesLines
2017-06-23selftests: lib: Skip tests on missing test modulesSumit Semwal1-0/+4
With older kernels, printf.sh and bitmap.sh fail because they can't find the respective test modules they are looking for. Use modprobe dry run to check for missing test_XXX module. Error out with the same error code as prime_numbers.sh. Signed-off-by: Sumit Semwal <sumit.semwal@linaro.org> Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
2016-02-20test_bitmap: unit tests for lib/bitmap.cDavid Decotigny1-0/+10
This is mainly testing bitmap construction and conversion to/from u32[] for now. Tested: qemu i386, x86_64, ppc, ppc64 BE and LE, ARM. Signed-off-by: David Decotigny <decot@googlers.com> Signed-off-by: David S. Miller <davem@davemloft.net>