Commit 98ad1dd0 authored by Geert Uytterhoeven's avatar Geert Uytterhoeven Committed by Greg Kroah-Hartman
Browse files

drivers: base: test: Make property entry API test modular



There is no reason why the KUnit Tests for the property entry API can
only be built-in.  Add support for building these tests as a loadable
module, like is supported by most other tests.

Signed-off-by: default avatarGeert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/98388154383df9d4ced73946efd18318aeea50e2.1695820382.git.geert+renesas@glider.be


Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent f1ac370c
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -14,6 +14,6 @@ config DM_KUNIT_TEST
	depends on KUNIT

config DRIVER_PE_KUNIT_TEST
	bool "KUnit Tests for property entry API" if !KUNIT_ALL_TESTS
	depends on KUNIT=y
	tristate "KUnit Tests for property entry API" if !KUNIT_ALL_TESTS
	depends on KUNIT
	default KUNIT_ALL_TESTS
+4 −0
Original line number Diff line number Diff line
@@ -506,3 +506,7 @@ static struct kunit_suite property_entry_test_suite = {
};

kunit_test_suite(property_entry_test_suite);

MODULE_DESCRIPTION("Test module for the property entry API");
MODULE_AUTHOR("Dmitry Torokhov <dtor@chromium.org>");
MODULE_LICENSE("GPL");