aboutsummaryrefslogtreecommitdiff
path: root/scripts/gen_html_coverage.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/gen_html_coverage.sh')
-rwxr-xr-xscripts/gen_html_coverage.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/gen_html_coverage.sh b/scripts/gen_html_coverage.sh
new file mode 100755
index 00000000..95dfb1af
--- /dev/null
+++ b/scripts/gen_html_coverage.sh
@@ -0,0 +1,5 @@
+#!/bin/sh
+set -eu
+rm -rf coverage_html
+lcov --directory src --capture --output-file proj.info
+genhtml -o ./coverage_html --ignore-errors source --num-spaces 2 proj.info