mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/2] gpio: add kunit tests for GPIO core
@ 2026-05-18 14:16 Bartosz Golaszewski
  2026-05-18 14:16 ` [PATCH 1/2] kunit: provide kunit_platform_device_register_full() Bartosz Golaszewski
  2026-05-18 14:16 ` [PATCH 2/2] gpio: add kunit test cases for the GPIO subsystem Bartosz Golaszewski
  0 siblings, 2 replies; 3+ messages in thread
From: Bartosz Golaszewski @ 2026-05-18 14:16 UTC (permalink / raw)
  To: Brendan Higgins, David Gow, Rae Moar, Linus Walleij, Bartosz Golaszewski
  Cc: linux-kselftest, kunit-dev, linux-kernel, linux-gpio,
	Bartosz Golaszewski

This series adds a first batch of kunit tests for GPIO core. I intend to
gradually add more coverage for functionalities that can't really be
tested from user-space with the existing kernel selftests or libgpiod
tests.

Merging strategy: with an Ack from kunit maintainers, this can go
through the GPIO tree for v7.2.

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
---
Bartosz Golaszewski (2):
      kunit: provide kunit_platform_device_register_full()
      gpio: add kunit test cases for the GPIO subsystem

 drivers/gpio/Kconfig            |   8 +
 drivers/gpio/Makefile           |   1 +
 drivers/gpio/gpiolib-kunit.c    | 354 ++++++++++++++++++++++++++++++++++++++++
 include/kunit/platform_device.h |   4 +
 lib/kunit/platform.c            |  31 ++++
 5 files changed, 398 insertions(+)
---
base-commit: 4a1989fb6514ca2a4b157ff4700bdcc8bdd9a978
change-id: 20260326-gpiolib-kunit-d7f1b5541ffa

Best regards,
-- 
Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-05-18 14:16 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-05-18 14:16 [PATCH 0/2] gpio: add kunit tests for GPIO core Bartosz Golaszewski
2026-05-18 14:16 ` [PATCH 1/2] kunit: provide kunit_platform_device_register_full() Bartosz Golaszewski
2026-05-18 14:16 ` [PATCH 2/2] gpio: add kunit test cases for the GPIO subsystem Bartosz Golaszewski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®