Skip to content

tests: improve wait_multiple coverage

Kent Gibson linux-gpio 1 version Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 7 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2tests: create mismatch between chip and bulk offsets in wait_multipletests/tests-event.c+1 -11 reply
2/2tests: add check of event offset to wait_multipletests/tests-event.c+1 -02 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [libgpiod][PATCH 0/2] tests: improve wait_multiple coverage

A couple of patches for the v2 branch that improve the coverage of the wait_multiple test case.

The first creates a mismatch between the chip offsets and bulk offsets to highlight the problem with my initial implementation of gpiod_line_event_wait_bulk() for uAPI v2.

The second adds a check on the event.offset field added for uAPI v2.

Kent Gibson (2):
tests: create mismatch between chip and bulk offsets in wait_multiple
tests: add check of event offset to wait_multiple

 tests/tests-event.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
Signature · 1 line
2.28.0