This example uses C/C++test CT coverage plugin for Bazel.
<INSTALL_DIR>/integration/bazel/WORKSPACE.bazel
and <INSTALL_DIR>/integration/bazel/BUILD.bazel
into the C/C++test CT installation directory. integration/bazel
directory.<INSTALL_DIR>/examples/CovApplication
bazel run --config=cpptest_coverage |
bazel-bin/Timer.elf |
.coverage
.cpptestcov compute -map .cpptest -clog cpptest_results.clog -out .coverage |
.coverage
.cpptestcov report text .coverage |
See <INSTALL_DIR>/integration/bazel/README.txt
for more details.