summaryrefslogtreecommitdiffstats
path: root/lib/Kconfig.debug
diff options
context:
space:
mode:
authorDavid Decotigny <decot@googlers.com>2016-02-19 15:24:00 +0100
committerDavid S. Miller <davem@davemloft.net>2016-02-20 04:54:09 +0100
commit5fd003f56c2c584b62a0486ad25bbd4be02b8b6c (patch)
tree17e2cfd6f198fe731c75c01ec9eca263ba8cb6ca /lib/Kconfig.debug
parentlib/bitmap.c: conversion routines to/from u32 array (diff)
downloadlinux-5fd003f56c2c584b62a0486ad25bbd4be02b8b6c.tar.xz
linux-5fd003f56c2c584b62a0486ad25bbd4be02b8b6c.zip
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