commit | b46746057033a0cab43aafa9b3cabfc2fa3e3540 | [log] [tgz] |
---|---|---|
author | William A. Kennington III <wak@google.com> | Wed Aug 24 14:54:37 2022 -0700 |
committer | William A. Kennington III <wak@google.com> | Wed Aug 24 14:56:09 2022 -0700 |
tree | d57567b2f85cd44dd2399014903501246e9ad425 | |
parent | c0a5cdfb9a973f9a030b361702ca766d1eb9fd62 [diff] |
test: Fix executing with valgrind We need to make sure run_with_tmp is executed outside valgrind. Change-Id: I0de8c1993cb422dd28e264dd8b5c2494a0db508d 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