commit | 972547697e45b813891712b6c11111889a0a32d0 | [log] [tgz] |
---|---|---|
author | Patrick Venture <venture@google.com> | Mon May 06 09:42:21 2019 -0700 |
committer | Patrick Venture <venture@google.com> | Mon May 06 09:46:18 2019 -0700 |
tree | 0f10acc3d8854c188aa640ee30b8f207b7337cdf | |
parent | 06561460bded9bf42398d987ac87bcec170740aa [diff] |
test: add mock build test Avoid breaking downstream dependencies by building the mocks that are exported. Change-Id: If171910dcff4fdd90d88d7aa611891c9c3fc4b85 Signed-off-by: Patrick Venture <venture@google.com>
ipmi-blob-tool is a host-side tool that speaks the BLOB protocol over IPMI.
Test cases require google{test,mock}, valgrind, and lcov.
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