summaryrefslogtreecommitdiffstats
path: root/lib/Kconfig.debug
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2020-11-03 22:45:08 +0200
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2020-11-17 18:06:28 +0100
commit5df38ca6afeceaf3ea911ad2f7e2101364dee48d (patch)
treefb03cdf3564a1286f5659dcea40815b73196ddaa /lib/Kconfig.debug
parentf65674df1b23cdcb6f656a14f659ffea83e7acaa (diff)
downloadlinux-5df38ca6afeceaf3ea911ad2f7e2101364dee48d.tar.bz2
resource: Add test cases for new resource API
Add test cases for newly added resource APIs. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'lib/Kconfig.debug')
-rw-r--r--lib/Kconfig.debug11
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug
index c789b39ed527..64f9501a6b5c 100644
--- a/lib/Kconfig.debug
+++ b/lib/Kconfig.debug
@@ -2226,6 +2226,17 @@ config BITFIELD_KUNIT
If unsure, say N.
+config RESOURCE_KUNIT_TEST
+ tristate "KUnit test for resource API"
+ depends on KUNIT
+ help
+ This builds the resource API unit test.
+ Tests the logic of API provided by resource.c and ioport.h.
+ For more information on KUnit and unit tests in general please refer
+ to the KUnit documentation in Documentation/dev-tools/kunit/.
+
+ If unsure, say N.
+
config SYSCTL_KUNIT_TEST
tristate "KUnit test for sysctl" if !KUNIT_ALL_TESTS
depends on KUNIT