tests: mockup: add a library for controlling the gpio-mockup module
authorBartosz Golaszewski <bgolaszewski@baylibre.com>
Fri, 10 May 2019 09:43:22 +0000 (11:43 +0200)
committerBartosz Golaszewski <bgolaszewski@baylibre.com>
Wed, 5 Jun 2019 09:39:53 +0000 (11:39 +0200)
commite43e46d4f79c90cb245f295184e3db5ea6e58c94
tree96c9ac2e07632c963d9ad5633b58c16e4ca36289
parent0dd2125c8ca96876b8cfda4b4d577896ef9af1fa
tests: mockup: add a library for controlling the gpio-mockup module

In order to both switch to glib unit testing framework for core
libgpiod tests as well as to cover the bindings in other languages
with proper testing while avoiding unnecessary code duplication, let's
factor out the code responsible for interaction with the gpio-mockup
module into a separate shared library.

Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
configure.ac
tests/Makefile.am
tests/mockup/Makefile.am [new file with mode: 0644]
tests/mockup/gpio-mockup.c [new file with mode: 0644]
tests/mockup/gpio-mockup.h [new file with mode: 0644]