commit | 1df9276090a38e8d33b1dea4c1d650e179170c90 | [log] [tgz] |
---|---|---|
author | William A. Kennington III <wak@google.com> | Thu Jan 12 10:34:13 2023 -0800 |
committer | William A. Kennington III <wak@google.com> | Thu May 18 02:29:59 2023 -0700 |
tree | d18f5b0e221f32df34353fad49b79012d5ef53cc | |
parent | d1984ddc52ee588bc1d1f32c6b309a4c9a8f3be6 [diff] |
raw: Workaround compiler complaining about test The compiler is smart enough to understand the input buffer is not big enough to copy the Int. We want to test the runtime buffer size checking though, so we need to make the memory buffer big enough but use a reduced size range to prevent the compiler error. Change-Id: If0e34a6ca9d11ac37f49afaa4201876db56e91d7 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