commit | 444d6214d532a8b5862ad3a41893ca7079b1e9ff | [log] [tgz] |
---|---|---|
author | William A. Kennington III <wak@google.com> | Thu Mar 14 09:51:43 2019 -0700 |
committer | William A. Kennington III <wak@google.com> | Thu Mar 14 10:05:14 2019 -0700 |
tree | deba2068b8a7e236aac636eb17f8127c91c46553 | |
parent | b20850288428d2f33d86038555421b365aceefa9 [diff] |
autotools: Fix for autoconf-archive 2019.01.19 The code coverage macros from the archive changed in a backward incompatible way. This adds a workaround to autodetect either version and do the right thing. Tested: Builds with the old version of autotools using the CI. Manually edited the CI to include the new 2019.01.19 version and ran the same test to ensure the coverage results are the same. Change-Id: Iebc9a3c32de4fd1c2da26e6eb3bc44cf296a4ca6 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