Skip to content

Commit d194e12

Browse files
roxellshuahkh
authored andcommitted
fs: ext4: default KUNIT_* fragments to KUNIT_ALL_TESTS
This makes it easier to enable all KUnit fragments. Adding 'if !KUNIT_ALL_TESTS' so individual tests can not be turned off. Therefore if KUNIT_ALL_TESTS is enabled that will hide the prompt in menuconfig. Reviewed-by: David Gow <[email protected]> Signed-off-by: Anders Roxell <[email protected]> Signed-off-by: Shuah Khan <[email protected]>
1 parent bebe94b commit d194e12

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

fs/ext4/Kconfig

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,9 +103,10 @@ config EXT4_DEBUG
103103
echo 1 > /sys/module/ext4/parameters/mballoc_debug
104104

105105
config EXT4_KUNIT_TESTS
106-
tristate "KUnit tests for ext4"
106+
tristate "KUnit tests for ext4" if !KUNIT_ALL_TESTS
107107
select EXT4_FS
108108
depends on KUNIT
109+
default KUNIT_ALL_TESTS
109110
help
110111
This builds the ext4 KUnit tests.
111112

0 commit comments

Comments
 (0)