Skip to content

Commit 55b7aee

Browse files
computersforpeacegregkh
authored andcommitted
drivers: base: test: Enable device model tests with KUNIT_ALL_TESTS
Per commit bebe94b ("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 <briannorris@chromium.org> Reviewed-by: David Gow <davidgow@google.com> Reviewed-by: Maxime Ripard <mripard@kernel.org> Reviewed-by: Rob Herring (Arm) <robh@kernel.org> Link: https://lore.kernel.org/r/20241216201148.535115-3-briannorris@chromium.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 1b1bb7b commit 55b7aee

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/base/test/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ config TEST_ASYNC_DRIVER_PROBE
1212
config DM_KUNIT_TEST
1313
tristate "KUnit Tests for the device model" if !KUNIT_ALL_TESTS
1414
depends on KUNIT
15+
default KUNIT_ALL_TESTS
1516

1617
config DRIVER_PE_KUNIT_TEST
1718
tristate "KUnit Tests for property entry API" if !KUNIT_ALL_TESTS

0 commit comments

Comments
 (0)