Richard Fitzgerald
unread,Mar 4, 2026, 11:24:11 AMMar 4Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to bro...@kernel.org, brendan...@linux.dev, davi...@google.com, raem...@gmail.com, linux...@vger.kernel.org, linux-k...@vger.kernel.org, kuni...@googlegroups.com, linux-...@vger.kernel.org, pat...@opensource.cirrus.com
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 <
r...@opensource.cirrus.com>
---
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