linux-gpio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH libgpiod 0/7] tests: update libgpiosim tests and add a uAPI test case for valid lines
@ 2025-10-06 11:27 Bartosz Golaszewski
  2025-10-06 11:27 ` [PATCH libgpiod 1/7] tests: harness: use correct type to capture a boolean retval Bartosz Golaszewski
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: Bartosz Golaszewski @ 2025-10-06 11:27 UTC (permalink / raw)
  To: Linus Walleij, Kent Gibson; +Cc: linux-gpio, Bartosz Golaszewski

This series fixes a couple minor bugs in tests, reworks the libgpiosim
selftests a bit, adds support for using the new feature of the gpio-sim
module that is marking GPIO lines as valid/invalid and finally adds a
test-case for validating the correct kernel behavior with invalid lines.

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
---
Bartosz Golaszewski (7):
      tests: harness: use correct type to capture a boolean retval
      tests: gpiosim: don't allow clearing hogs on active devices
      tests: gpiosim: selftests: shrink the self-test code
      tests: gpiosim: selftests: add more test cases
      tests: gpiosim: provide gpiosim_bank_set_line_valid()
      tests: harness: support setting invalid lines
      tests: add a test case for checking invalid lines

 tests/gpiosim-glib/gpiosim-glib.c |  48 ++++++++++++++-
 tests/gpiosim/gpiosim-selftest.c  | 126 ++++++++++++++++----------------------
 tests/gpiosim/gpiosim.c           |  23 ++++++-
 tests/gpiosim/gpiosim.h           |   2 +
 tests/harness/gpiod-test.c        |   4 +-
 tests/tests-kernel-uapi.c         |  29 +++++++++
 6 files changed, 155 insertions(+), 77 deletions(-)
---
base-commit: 727d07ee53493219a339ffe7c65512eb85548e6f
change-id: 20250904-gpiosim-valid-lines-87bf86d5d91b

Best regards,
-- 
Bartosz Golaszewski <bartosz.golaszewski@linaro.org>


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

end of thread, other threads:[~2025-10-09  8:17 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-10-06 11:27 [PATCH libgpiod 0/7] tests: update libgpiosim tests and add a uAPI test case for valid lines Bartosz Golaszewski
2025-10-06 11:27 ` [PATCH libgpiod 1/7] tests: harness: use correct type to capture a boolean retval Bartosz Golaszewski
2025-10-06 11:27 ` [PATCH libgpiod 2/7] tests: gpiosim: don't allow clearing hogs on active devices Bartosz Golaszewski
2025-10-06 11:27 ` [PATCH libgpiod 3/7] tests: gpiosim: selftests: shrink the self-test code Bartosz Golaszewski
2025-10-06 11:27 ` [PATCH libgpiod 4/7] tests: gpiosim: selftests: add more test cases Bartosz Golaszewski
2025-10-06 11:27 ` [PATCH libgpiod 5/7] tests: gpiosim: provide gpiosim_bank_set_line_valid() Bartosz Golaszewski
2025-10-06 11:27 ` [PATCH libgpiod 6/7] tests: harness: support setting invalid lines Bartosz Golaszewski
2025-10-06 11:27 ` [PATCH libgpiod 7/7] tests: add a test case for checking " Bartosz Golaszewski
2025-10-09  8:16 ` [PATCH libgpiod 0/7] tests: update libgpiosim tests and add a uAPI test case for valid lines Bartosz Golaszewski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).