summaryrefslogtreecommitdiff
path: root/lib/raid/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'lib/raid/Kconfig')
-rw-r--r--lib/raid/Kconfig11
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/raid/Kconfig b/lib/raid/Kconfig
index 81cb3f9c0a7b..5ab2b0a7be4c 100644
--- a/lib/raid/Kconfig
+++ b/lib/raid/Kconfig
@@ -17,3 +17,14 @@ config XOR_BLOCKS_ARCH
default y if X86_32
default y if X86_64
bool
+
+config XOR_KUNIT_TEST
+ tristate "KUnit tests for xor_gen" if !KUNIT_ALL_TESTS
+ depends on KUNIT
+ depends on XOR_BLOCKS
+ default KUNIT_ALL_TESTS
+ help
+ Unit tests for the XOR library functions.
+
+ This is intended to help people writing architecture-specific
+ optimized versions. If unsure, say N.