summaryrefslogtreecommitdiff
path: root/drivers/base/test
diff options
context:
space:
mode:
authorAnders Roxell <anders.roxell@linaro.org>2020-05-11 15:14:33 +0200
committerShuah Khan <skhan@linuxfoundation.org>2020-06-01 14:24:25 -0600
commitbebe94b53eb7ee28f436f7b45324e37713690c0f (patch)
tree9ffe209fc765cef7a391648aaecdb4fd59d9422e /drivers/base/test
parent5f215aab4ea0cf39e9fcdb721733a7814f3a3a50 (diff)
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>
Diffstat (limited to 'drivers/base/test')
-rw-r--r--drivers/base/test/Kconfig3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/base/test/Kconfig b/drivers/base/test/Kconfig
index 305c7751184a..ba225eb1b761 100644
--- a/drivers/base/test/Kconfig
+++ b/drivers/base/test/Kconfig
@@ -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