Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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 <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>

authored by

Brian Norris and committed by
Greg Kroah-Hartman
55b7aee9 1b1bb7b2

+1
+1
drivers/base/test/Kconfig
··· 12 12 config DM_KUNIT_TEST 13 13 tristate "KUnit Tests for the device model" if !KUNIT_ALL_TESTS 14 14 depends on KUNIT 15 + default KUNIT_ALL_TESTS 15 16 16 17 config DRIVER_PE_KUNIT_TEST 17 18 tristate "KUnit Tests for property entry API" if !KUNIT_ALL_TESTS