Skip to content

Commit bebe94b

Browse files
roxellshuahkh
authored andcommitted
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]>
1 parent 5f215aa commit bebe94b

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

drivers/base/Kconfig

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,8 +149,9 @@ config DEBUG_TEST_DRIVER_REMOVE
149149
test this functionality.
150150

151151
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
153153
depends on KUNIT=y
154+
default KUNIT_ALL_TESTS
154155

155156
config HMEM_REPORTING
156157
bool

drivers/base/test/Kconfig

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,6 @@ config TEST_ASYNC_DRIVER_PROBE
99

1010
If unsure say N.
1111
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
1313
depends on KUNIT=y
14+
default KUNIT_ALL_TESTS

0 commit comments

Comments
 (0)