tests: update libgpiosim tests and add a uAPI test case for valid lines
Status from this message: Applied, thanks!
Get series with b4
b4 am [email protected] change-id 20250904-gpiosim-valid-lines-87bf86d5d91bVersions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | tests: harness: use correct type to capture a boolean retvaltests/ | +3 | 0 replies | |
| 2/7 | tests: gpiosim: don't allow clearing hogs on active devicestests/ | +3 | 0 replies | |
| 3/7 | tests: gpiosim: selftests: shrink the self-test codetests/ | +39 | 0 replies | |
| 4/7 | tests: gpiosim: selftests: add more test casestests/ | +9 | 0 replies | |
| 5/7 | tests: gpiosim: provide gpiosim_bank_set_line_valid()tests/ tests/ tests/ | +26 | 0 replies | |
| 6/7 | tests: harness: support setting invalid linestests/ | +45 | 0 replies | |
| 7/7 | tests: add a test case for checking invalid linestests/ tests/ | +31 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH libgpiod 0/7] tests: update libgpiosim tests and add a uAPI test case for valid lines
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.
---
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,
Signature · 1 line
Bartosz Golaszewski <[email protected]>