Add CONFIG_GPIOLIB to the all_tests config so that it can run test cases that create dummy GPIO drivers.
Some tests for the Cirrus Logic cs35l56 ASoC codec driver and cirrus_scodec HDA driver create a dummy GPIO driver so they can test driver functions that read from the GPIOs. These tests will be skipped if CONFIG_GPIOLIB is not set. Ideally we would like them to be run when selecting --alltests. CONFIG_GPIOLIB does not have any dependencies and only enables generic library code. Signed-off-by: Richard Fitzgerald <[email protected]> --- tools/testing/kunit/configs/all_tests.config | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/testing/kunit/configs/all_tests.config b/tools/testing/kunit/configs/all_tests.config index 422e186cf3cf..e21239dc6fae 100644 --- a/tools/testing/kunit/configs/all_tests.config +++ b/tools/testing/kunit/configs/all_tests.config @@ -40,6 +40,8 @@ CONFIG_DAMON=y CONFIG_DAMON_VADDR=y CONFIG_DAMON_PADDR=y +CONFIG_GPIOLIB=y + CONFIG_REGMAP_BUILD=y CONFIG_AUDIT=y -- 2.47.3

