summaryrefslogtreecommitdiff
path: root/tools/coverage.sh
diff options
context:
space:
mode:
authorDominick Allen <djallen@librehumanitas.org>2024-10-02 19:51:41 -0500
committerDominick Allen <djallen@librehumanitas.org>2024-10-02 19:51:41 -0500
commitf7eede23de6f78b2b33b477b2b4c5451141825d5 (patch)
treed698a92272b8e4a8428b82d9a21f3e98ed267a6d /tools/coverage.sh
parent32c722d50943bbdeba65a77d5e94f8692cf75f3c (diff)
Add setup for coverage and cppcheck.
Diffstat (limited to 'tools/coverage.sh')
-rwxr-xr-xtools/coverage.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/coverage.sh b/tools/coverage.sh
new file mode 100755
index 0000000..5caa6f0
--- /dev/null
+++ b/tools/coverage.sh
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+ctest --test-dir build/test -j8
+mkdir -p build/html
+gcovr --exclude-throw-branches --exclude build/_deps/ --exclude test -r source . --html-details build/html/gcovr_report.html