commit | 084683a460b73a75319ee280c3491dd7f2c19168 | [log] [tgz] |
---|---|---|
author | William A. Kennington III <wak@google.com> | Wed Dec 19 13:16:34 2018 -0800 |
committer | William A. Kennington III <wak@google.com> | Wed Dec 19 14:04:21 2018 -0800 |
tree | e7bfebc8a1bc408b745463a8f0153e393065c2f4 | |
parent | ad6ada4609711e0815626702916526723bc52b9c [diff] |
event: Add mock for clients Makes it easier for client libraries to test their gpio logic. Change-Id: I34d4372ff57698873ad449e02b78c8fa826d383d Signed-off-by: William A. Kennington III <wak@google.com>
gpioplus is a c++ wrapper around the linux gpio ioctl interface. It aims to provide c++ ergonomics to the usage.
Test cases require google{test,mock}, valgrind, and lcov.
For a standard release build, you want something like:
./bootstrap.sh ./configure --disable-tests make make install
For a test / debug build, a typical configuration is
./bootstrap.sh ./configure --enable-tests --enable-coverage --enable-valgrind make make check make check-valgrind make check-code-coverage