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 <[email protected]>
Signed-off-by: Anders Roxell <[email protected]>
Signed-off-by: Shuah Khan <[email protected]>
This commit is contained in:
Anders Roxell authored and Shuah Khan committed 2020-06-01 14:24:25 -06:00
1 parent 5f215aab4e
commit bebe94b53e
2 files changed
+4 -2

No files matched your search

+2 -1
View File
@@ -149,8 +149,9 @@ config DEBUG_TEST_DRIVER_REMOVE
test this functionality.
config PM_QOS_KUNIT_TEST
bool "KUnit Test for PM QoS features"
bool "KUnit Test for PM QoS features" if !KUNIT_ALL_TESTS
depends on KUNIT=y
default KUNIT_ALL_TESTS
config HMEM_REPORTING
bool
+2 -1
View File
@@ -9,5 +9,6 @@ config TEST_ASYNC_DRIVER_PROBE
If unsure say N.
config KUNIT_DRIVER_PE_TEST
bool "KUnit Tests for property entry API"
bool "KUnit Tests for property entry API" if !KUNIT_ALL_TESTS
depends on KUNIT=y
default KUNIT_ALL_TESTS