resource: Add test cases for new resource API
[linux-2.6-block.git] / lib / Kconfig.debug
index c789b39ed527173219adefcca72f0f7778d15aa2..64f9501a6b5cdd4322bbd0a7adaac59042be446c 100644 (file)
@@ -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