commit | 06561460bded9bf42398d987ac87bcec170740aa | [log] [tgz] |
---|---|---|
author | Patrick Venture <venture@google.com> | Tue Mar 19 08:42:04 2019 -0700 |
committer | Patrick Venture <venture@google.com> | Tue Mar 19 08:42:04 2019 -0700 |
tree | 82b6e3927521f470309c8a11d632b225b27c6018 | |
parent | 51372f02b96e1f1b1317e25e956c712019557bb4 [diff] |
unit-test: use library instead of object files Use the library object instead of the specific object files for proper coverage functionality. Tested: Verified coverage output. Change-Id: Ia9ca935e774160ef5a83a823489160aa95a09169 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