test_bitmap: unit tests for lib/bitmap.c
authorDavid Decotigny <decot@googlers.com>
Fri, 19 Feb 2016 14:24:00 +0000 (09:24 -0500)
committerDavid S. Miller <davem@davemloft.net>
Sat, 20 Feb 2016 03:54:09 +0000 (22:54 -0500)
commit5fd003f56c2c584b62a0486ad25bbd4be02b8b6c
tree17e2cfd6f198fe731c75c01ec9eca263ba8cb6ca
parente52bc7c28ac9f54db6f86b19ed65c599def18c98
test_bitmap: unit tests for lib/bitmap.c

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>
lib/Kconfig.debug
lib/Makefile
lib/test_bitmap.c [new file with mode: 0644]
tools/testing/selftests/lib/Makefile
tools/testing/selftests/lib/bitmap.sh [new file with mode: 0755]