aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
authorDavid Gow <david@davidgow.net>2026-04-25 11:41:53 +0800
committerShuah Khan <skhan@linuxfoundation.org>2026-05-04 12:10:40 -0600
commit17e4c68ff35090d8cb743e3c82c09f92fda1ebda (patch)
treeabd3c8fe766afb894b8b6dd73584b87ec715bfc3 /lib
parent254f49634ee16a731174d2ae34bc50bd5f45e731 (diff)
downloadath-17e4c68ff35090d8cb743e3c82c09f92fda1ebda.tar.gz
kunit: config: Enable KUNIT_DEBUGFS by default
The KUNIT_DEBUGFS option is currently enabled based on the value of KUNIT_ALL_TESTS, but it really doesn't have anything to do with the set of enabled tests, so just enable it by default anyway. In particular, this shouldn't be only visible if KUNIT_ALL_TESTS is set, which is quite confusing. Link: https://lore.kernel.org/r/20260425034155.53913-1-david@davidgow.net Fixes: beaed42c427d ("kunit: default KUNIT_* fragments to KUNIT_ALL_TESTS") Signed-off-by: David Gow <david@davidgow.net> Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Diffstat (limited to 'lib')
-rw-r--r--lib/kunit/Kconfig4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/kunit/Kconfig b/lib/kunit/Kconfig
index 498cc51e493dc..f80ca3aeedb05 100644
--- a/lib/kunit/Kconfig
+++ b/lib/kunit/Kconfig
@@ -16,8 +16,8 @@ menuconfig KUNIT
if KUNIT
config KUNIT_DEBUGFS
- bool "KUnit - Enable /sys/kernel/debug/kunit debugfs representation" if !KUNIT_ALL_TESTS
- default KUNIT_ALL_TESTS
+ bool "KUnit - Enable /sys/kernel/debug/kunit debugfs representation"
+ default y
help
Enable debugfs representation for kunit. Currently this consists
of /sys/kernel/debug/kunit/<test_suite>/results files for each