summaryrefslogtreecommitdiffstats
path: root/Documentation/technotes
diff options
context:
space:
mode:
authorPaul Fagerburg <pfagerburg@google.com>2021-10-26 13:20:25 -0600
committerPatrick Georgi <pgeorgi@google.com>2021-10-29 05:09:57 +0000
commitaae5cdf1aaf0916695eb1a345941671ddb21901c (patch)
tree532e6f905531ca66dec04f310ad4df083d724a12 /Documentation/technotes
parente008c469c322141325d617a8daff6392a04becd6 (diff)
downloadcoreboot-aae5cdf1aaf0916695eb1a345941671ddb21901c.tar.gz
coreboot-aae5cdf1aaf0916695eb1a345941671ddb21901c.tar.bz2
coreboot-aae5cdf1aaf0916695eb1a345941671ddb21901c.zip
Documenation: call out `lcov` as required
Code coverage requires `lcov`, so update the docs to call it out specifically. Signed-off-by: Paul Fagerburg <pfagerburg@google.com> Change-Id: Ie2898faa5188a7174c4e56ba34f1a4f02f939b03 Reviewed-on: https://review.coreboot.org/c/coreboot/+/58633 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'Documentation/technotes')
-rw-r--r--Documentation/technotes/2021-05-code-coverage.md3
1 files changed, 3 insertions, 0 deletions
diff --git a/Documentation/technotes/2021-05-code-coverage.md b/Documentation/technotes/2021-05-code-coverage.md
index ec7f4cb5f979..d33fe5d700af 100644
--- a/Documentation/technotes/2021-05-code-coverage.md
+++ b/Documentation/technotes/2021-05-code-coverage.md
@@ -4,6 +4,9 @@ Code coverage for the coreboot unit tests allows us to see what lines of
code in the coreboot library are covered by unit tests, and allows a test
author to see where they need to add test cases for additional coverage.
+Code coverage requires `lcov`; install the tool if necessary by
+`sudo apt install lcov` or the equivalent for your system.
+
Enable code coverage in your unit test build by setting the environment
variable `COV` to 1; either `export COV=1` in your shell, or add it to your
`make` command, e.g. `COV=1 make unit-tests`.