diff options
author | Toni Uhlig <matzeton@googlemail.com> | 2022-03-11 18:29:38 +0100 |
---|---|---|
committer | Toni Uhlig <matzeton@googlemail.com> | 2022-03-11 18:29:38 +0100 |
commit | f884a538ce79f70d44bdaaa9cb5ad2801dc36196 (patch) | |
tree | 95711638fbd34265e65ddf1d17e7c40398a13996 /scripts | |
parent | 41757ecf1cbcbcd890c1ab7e08995aaffe031752 (diff) |
Code coverage generation using LCOV.
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/code-coverage.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/scripts/code-coverage.sh b/scripts/code-coverage.sh new file mode 100755 index 000000000..37038bd2a --- /dev/null +++ b/scripts/code-coverage.sh @@ -0,0 +1,8 @@ +#!/usr/bin/env bash + +set -e + +cd "$(dirname "${0}")/.." +mkdir -p coverage_report +lcov --directory . --capture --output-file lcov.info +genhtml -o coverage_report lcov.info |