mbox series

[libgpiod,0/3] tools: tests: minor coverage and

Message ID 20230612025642.11554-1-warthog618@gmail.com
Headers show
Series tools: tests: minor coverage and | expand

Message

Kent Gibson June 12, 2023, 2:56 a.m. UTC
A collection of minor testing improvements for the tools.

The first covers gaps in the test coverage, both newly introduced and
historical.

The second builds on recent changes from Joe Slater to speed up one
particular test.

The last is for a problem I ran across some time ago when setting up a
minimal yocto test environment which lacked ncurses and made bats behave
badly. It doesn't alter the test output, as far as I am aware, as bats
defaults to TAP.  This is really a workaround for a bats issue, but it
is easier to fix here than there.

The series is applied to the current master, with Gabriel Matni's
idle-timeout patch v4 applied, on the assumption that will land soon.

Cheers,
Kent.

Kent Gibson (3):
  tools: tests: add tests for idle-timeout and debounce period.
  tools: tests: speed up continuous toggle test
  tools: tests: force bats to use tap output format to remove indirect
    dependency on ncurses

 tools/gpio-tools-test      |  2 +-
 tools/gpio-tools-test.bats | 89 ++++++++++++++++++++++++++++++++++++--
 2 files changed, 87 insertions(+), 4 deletions(-)


base-commit: 9788bdd3d6791205431e65366dcc518446f7ca6a
prerequisite-patch-id: aab58a4a70a7d7d18cc8a0e72580e605ef1d5dc6