commit | 3dd6e9d251479833f735bc5fef09808fe3eb3e94 | [log] [tgz] |
---|---|---|
author | William A. Kennington III <wak@google.com> | Thu Aug 16 15:34:32 2018 -0700 |
committer | William A. Kennington III <wak@google.com> | Thu Aug 16 15:35:35 2018 -0700 |
tree | 4b2a3dceb7defa30b67c569b48d7c86430fccb32 | |
parent | 6342ef76a27e6a25bd3000f4d904834e0570e702 [diff] |
example/pulse: Don't core dump on error Allowing the defult c++ error handler works to display the error but it also throws a SIGABRT which triggers coredump logic on the machine running the example.
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