tree-wide: Use cexec for checking calls

This makes error handling guaranteed and slightly more compact.

Tested:
    Ran through unit test suite.

Change-Id: If12cf25302390e5e5238f80b4fdb7ea577b5b5c8
Signed-off-by: William A. Kennington III <wak@google.com>
9 files changed
tree: 0ed234b8b98d5ddf9f115838d0c01bcf5a10b31c
  1. example/
  2. src/
  3. test/
  4. .clang-format
  5. .clang-tidy
  6. .gitignore
  7. .lcovrc
  8. bootstrap.sh
  9. configure.ac
  10. LICENSE
  11. MAINTAINERS
  12. Makefile.am
  13. meson.build
  14. meson_options.txt
  15. README.md
README.md

sdeventplus

sdeventplus is a c++ wrapper around the systemd sd_event apis meant to provide c++ ergonomics to their usage.

Dependencies

The sdeventplus library requires libsystemd for sd-event.

Test cases require google{test,mock}, valgrind, and lcov.

Building

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