commit | 161b72119a289ace99752d4b5a203b7ac53f7ed8 | [log] [tgz] |
---|---|---|
author | Patrick Venture <venture@google.com> | Thu Mar 07 12:17:04 2019 -0800 |
committer | Patrick Venture <venture@google.com> | Thu Mar 07 12:32:31 2019 -0800 |
tree | 8d97517955995d1e2b6b7de8bf60d8f8fcae0758 | |
parent | 509ca629dcf67fb5fd8723ec07fd1e6205549085 [diff] |
test: add unit-tests for the crc module Copied the unit-tests from phosphor-ipmi-blobs. The CRC module there will be dropped in favor of this one. Change-Id: I875ec67820218c7b9d1feec8aee84cdbbe84df54 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