commit | 59a4722de32831f31ec5d1dddfbc28ac90f24bdf | [log] [tgz] |
---|---|---|
author | William A. Kennington III <wak@google.com> | Wed Sep 19 18:27:26 2018 -0700 |
committer | William A. Kennington III <wak@google.com> | Wed Sep 19 22:51:27 2018 -0700 |
tree | 6a84beabf6dc3ed3579ce3f9a702359198fc669a | |
parent | de22092139b827389417d4283cca8ef3a4afdaef [diff] |
test: Build test cases with their respective c++ files The current build situation places the test wrappers and logs into the top level test directory. We can actually build and run these binaries ink the subdirectories containing the test sources. Do this. Tested: Run through the unit test suite and all test still show up and pass. Change-Id: Ia5c9957242ae4df88dca6433682dc66bbbc3d684 Signed-off-by: William A. Kennington III <wak@google.com>
sdeventplus is a c++ wrapper around the systemd sd_event apis meant to provide c++ ergonomics to their usage.
The sdeventplus library requires libsystemd for sd-event.
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