commit | 6c15d9af48cd019f97090356372216f3eb675f6d | [log] [tgz] |
---|---|---|
author | William A. Kennington III <wak@google.com> | Wed Aug 24 13:45:42 2022 -0700 |
committer | William A. Kennington III <wak@google.com> | Wed Aug 24 14:16:06 2022 -0700 |
tree | 3b6ea664361b1e4e410b2c73df49d62eeeb6f9ee | |
parent | 0bd1370d9f42c7e83a8f94a5dbf4335c6984abb5 [diff] |
test/raw: Convert to googletest Catch2 never really took off and googletest mostly gives us everything we need. Change-Id: I5988fa05b6a9ed09a15c063d62736135d2bd0f7d 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