summaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
authorPetr Mladek <pmladek@suse.com>2025-10-02 10:33:08 +0200
committerPetr Mladek <pmladek@suse.com>2025-10-02 10:33:08 +0200
commit7a75a5da79ef9006e7f051341b768245c814efa0 (patch)
tree6149f71eef00790b4311cea7ed24206f45f00db9 /init
parent4d164e08cd8457ebcd5346f612ac2c04e80b6bea (diff)
parentbf42df09b6aa4ebb596ecba66cf35b75362b55c7 (diff)
Merge branch 'rework/ringbuffer-kunit-test' into for-linus
Diffstat (limited to 'init')
-rw-r--r--init/Kconfig12
1 files changed, 12 insertions, 0 deletions
diff --git a/init/Kconfig b/init/Kconfig
index 836320251219..8741a83a98ef 100644
--- a/init/Kconfig
+++ b/init/Kconfig
@@ -1692,6 +1692,18 @@ config PRINTK
very difficult to diagnose system problems, saying N here is
strongly discouraged.
+config PRINTK_RINGBUFFER_KUNIT_TEST
+ tristate "KUnit Test for the printk ringbuffer" if !KUNIT_ALL_TESTS
+ depends on PRINTK && KUNIT
+ default KUNIT_ALL_TESTS
+ help
+ This builds the printk ringbuffer KUnit test suite.
+
+ For more information on KUnit and unit tests in general, please refer
+ to the KUnit documentation.
+
+ If unsure, say N.
+
config BUG
bool "BUG() support" if EXPERT
default y