tests: add a simple unit testing framework and a couple tests
authorBartosz Golaszewski <bartekgola@gmail.com>
Thu, 9 Feb 2017 10:02:13 +0000 (11:02 +0100)
committerBartosz Golaszewski <bartekgola@gmail.com>
Fri, 17 Feb 2017 13:40:43 +0000 (14:40 +0100)
commit8ff90454fc111a914802f7c4f2c4e1355ee0c16c
treebf5392c247531a14a0f2daa6e8ba565b9f1aae14
parent56c7eb824d2802a7e42326570c5ba76ebb3aa4f2
tests: add a simple unit testing framework and a couple tests

Implement a simple unit testing framework working together with the
gpio-mockup module present in the mainline linux kernel.

Signed-off-by: Bartosz Golaszewski <bartekgola@gmail.com>
.gitignore
Makefile.am
configure.ac
tests/Makefile.am [new file with mode: 0644]
tests/unit/Makefile.am [new file with mode: 0644]
tests/unit/gpiod-unit.c [new file with mode: 0644]
tests/unit/gpiod-unit.h [new file with mode: 0644]
tests/unit/tests-chip.c [new file with mode: 0644]