From: Brian Norris Date: Mon, 16 Dec 2024 20:11:43 +0000 (-0800) Subject: drivers: base: test: Enable device model tests with KUNIT_ALL_TESTS X-Git-Tag: v6.14-rc1~55^2~68 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=55b7aee990ef786251e0e37f8285c32b4193f419;p=thirdparty%2Fkernel%2Flinux.git drivers: base: test: Enable device model tests with KUNIT_ALL_TESTS Per commit bebe94b53eb7 ("drivers: base: default KUNIT_* fragments to KUNIT_ALL_TESTS"), it seems like we should default to KUNIT_ALL_TESTS. This enables these platform_device tests for common configurations, such as with: ./tools/testing/kunit/kunit.py run Signed-off-by: Brian Norris Reviewed-by: David Gow Reviewed-by: Maxime Ripard Reviewed-by: Rob Herring (Arm) Link: https://lore.kernel.org/r/20241216201148.535115-3-briannorris@chromium.org Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/base/test/Kconfig b/drivers/base/test/Kconfig index 5c7fac80611ce..2756870615cca 100644 --- a/drivers/base/test/Kconfig +++ b/drivers/base/test/Kconfig @@ -12,6 +12,7 @@ config TEST_ASYNC_DRIVER_PROBE config DM_KUNIT_TEST tristate "KUnit Tests for the device model" if !KUNIT_ALL_TESTS depends on KUNIT + default KUNIT_ALL_TESTS config DRIVER_PE_KUNIT_TEST tristate "KUnit Tests for property entry API" if !KUNIT_ALL_TESTS