Skip to content

Commit 17e4c68

Browse files
sulixshuahkh
authored andcommitted
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: beaed42 ("kunit: default KUNIT_* fragments to KUNIT_ALL_TESTS") Signed-off-by: David Gow <david@davidgow.net> Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
1 parent 254f496 commit 17e4c68

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

lib/kunit/Kconfig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ menuconfig KUNIT
1616
if KUNIT
1717

1818
config KUNIT_DEBUGFS
19-
bool "KUnit - Enable /sys/kernel/debug/kunit debugfs representation" if !KUNIT_ALL_TESTS
20-
default KUNIT_ALL_TESTS
19+
bool "KUnit - Enable /sys/kernel/debug/kunit debugfs representation"
20+
default y
2121
help
2222
Enable debugfs representation for kunit. Currently this consists
2323
of /sys/kernel/debug/kunit/<test_suite>/results files for each

0 commit comments

Comments
 (0)