commit | 245495ea7863dd7ccb8fac0ee27601e1331f08c6 | [log] [tgz] |
---|---|---|
author | William A. Kennington III <wak@google.com> | Thu Feb 13 13:07:30 2020 -0800 |
committer | William A. Kennington III <wak@google.com> | Thu Mar 12 14:41:12 2020 -0700 |
tree | 1d685f0d3230829c0e1da3d864872f8af707c419 | |
parent | a2d67e20529a1f720c13586553ad2cec1451d5a8 [diff] |
test: Add initial support for catch2 This will be used by future test cases in place of googletest. Change-Id: I41bf1d4f85ebffd1353e6d33a8eaee49803cb254 Signed-off-by: William A. Kennington III <wak@google.com>
stdplus is a c++ project containing commonly used classes and functions for the Linux platform. Note the goals of this project are to implement only the minimum set of features needed by the OpenBMC project and other users. You may find the included set of functions currently quite sparse.
This project provides the following primitives:
Test cases require google{test,mock}, valgrind, and lcov. It also requires the Meson Build System which can be installed following the instructions at mesonbuild.com.
For a standard release build, you want something like:
meson setup -Dexamples=false -Dtests=disabled builddir ninja -C builddir ninja -C builddir install
For a test / debug build, a typical configuration is
meson setup -Dtests=enabled builddir meson test -C builddir