summaryrefslogtreecommitdiffstats
path: root/lib/Kconfig.debug
diff options
context:
space:
mode:
authorDavid Decotigny <decot@googlers.com>2016-02-19 09:24:00 -0500
committerDavid S. Miller <davem@davemloft.net>2016-02-19 22:54:09 -0500
commit5fd003f56c2c584b62a0486ad25bbd4be02b8b6c (patch)
tree17e2cfd6f198fe731c75c01ec9eca263ba8cb6ca /lib/Kconfig.debug
parente52bc7c28ac9f54db6f86b19ed65c599def18c98 (diff)
downloadlinux-5fd003f56c2c584b62a0486ad25bbd4be02b8b6c.tar.gz
linux-5fd003f56c2c584b62a0486ad25bbd4be02b8b6c.tar.xz
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>
Diffstat (limited to 'lib/Kconfig.debug')
-rw-r--r--lib/Kconfig.debug8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug
index ecb9e75614bf..f890ee5e1385 100644
--- a/lib/Kconfig.debug
+++ b/lib/Kconfig.debug
@@ -1738,6 +1738,14 @@ config TEST_KSTRTOX
config TEST_PRINTF
tristate "Test printf() family of functions at runtime"
+config TEST_BITMAP
+ tristate "Test bitmap_*() family of functions at runtime"
+ default n
+ help
+ Enable this option to test the bitmap functions at boot.
+
+ If unsure, say N.
+
config TEST_RHASHTABLE
tristate "Perform selftest on resizable hash table"
default n