summaryrefslogtreecommitdiff
path: root/tools/coverage.sh
diff options
context:
space:
mode:
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