All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] libgpiosim: new testing library
@ 2022-01-11 13:37 Bartosz Golaszewski
  2022-01-11 13:37 ` [PATCH 1/2] libgpiosim: new library for controlling the gpio-sim module Bartosz Golaszewski
  2022-01-11 13:37 ` [PATCH 2/2] tests: port C tests to libgpiosim Bartosz Golaszewski
  0 siblings, 2 replies; 3+ messages in thread
From: Bartosz Golaszewski @ 2022-01-11 13:37 UTC (permalink / raw)
  To: Kent Gibson, Linus Walleij, Andy Shevchenko, Viresh Kumar
  Cc: linux-gpio, Bartosz Golaszewski

This adds the library that talks to the new gpio-sim module. The module is
not yet in any linux release so we'll update the kernel requirements once
v5.17 is out.

The first patch adds the library and the second converts the C tests to using
it.

The plan is to use it to completely rewrite the tests for v2 so I don't
envision any more porting work for v1. Once we are on libgpiosim for all
test frameworks in v2, we'll remove all gpio-mockup code from the project.

Bartosz Golaszewski (2):
  libgpiosim: new library for controlling the gpio-sim module
  tests: port C tests to libgpiosim

 configure.ac                     |    7 +-
 tests/Makefile.am                |    8 +-
 tests/gpiod-test.c               |  143 +++--
 tests/gpiod-test.h               |    4 +-
 tests/gpiosim/.gitignore         |    4 +
 tests/gpiosim/Makefile.am        |   16 +
 tests/gpiosim/gpiosim-selftest.c |  157 +++++
 tests/gpiosim/gpiosim.c          | 1009 ++++++++++++++++++++++++++++++
 tests/gpiosim/gpiosim.h          |   64 ++
 9 files changed, 1365 insertions(+), 47 deletions(-)
 create mode 100644 tests/gpiosim/.gitignore
 create mode 100644 tests/gpiosim/Makefile.am
 create mode 100644 tests/gpiosim/gpiosim-selftest.c
 create mode 100644 tests/gpiosim/gpiosim.c
 create mode 100644 tests/gpiosim/gpiosim.h

-- 
2.30.1


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

end of thread, other threads:[~2022-01-11 13:37 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-01-11 13:37 [PATCH 0/2] libgpiosim: new testing library Bartosz Golaszewski
2022-01-11 13:37 ` [PATCH 1/2] libgpiosim: new library for controlling the gpio-sim module Bartosz Golaszewski
2022-01-11 13:37 ` [PATCH 2/2] tests: port C tests to libgpiosim Bartosz Golaszewski

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.