Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drivers: base: 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 <davidgow@google.com>
Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>

authored by

Anders Roxell and committed by
Shuah Khan
bebe94b5 5f215aab

+4 -2
+2 -1
drivers/base/Kconfig
··· 149 149 test this functionality. 150 150 151 151 config PM_QOS_KUNIT_TEST 152 - bool "KUnit Test for PM QoS features" 152 + bool "KUnit Test for PM QoS features" if !KUNIT_ALL_TESTS 153 153 depends on KUNIT=y 154 + default KUNIT_ALL_TESTS 154 155 155 156 config HMEM_REPORTING 156 157 bool
+2 -1
drivers/base/test/Kconfig
··· 9 9 10 10 If unsure say N. 11 11 config KUNIT_DRIVER_PE_TEST 12 - bool "KUnit Tests for property entry API" 12 + bool "KUnit Tests for property entry API" if !KUNIT_ALL_TESTS 13 13 depends on KUNIT=y 14 + default KUNIT_ALL_TESTS