Skip to content

Commit

Permalink
fs: ext4: default KUNIT_* fragments to KUNIT_ALL_TESTS
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
roxell authored and shuahkh committed Jun 1, 2020
1 parent bebe94b commit d194e12
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion fs/ext4/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -103,9 +103,10 @@ config EXT4_DEBUG
echo 1 > /sys/module/ext4/parameters/mballoc_debug

config EXT4_KUNIT_TESTS
tristate "KUnit tests for ext4"
tristate "KUnit tests for ext4" if !KUNIT_ALL_TESTS
select EXT4_FS
depends on KUNIT
default KUNIT_ALL_TESTS
help
This builds the ext4 KUnit tests.

Expand Down

0 comments on commit d194e12

Please sign in to comment.