summaryrefslogtreecommitdiff
path: root/tools/coverage.sh
diff options
context:
space:
mode:
authorDominick Allen <djallen@librehumanitas.org>2025-01-02 15:11:51 -0600
committerDominick Allen <djallen@librehumanitas.org>2025-01-02 15:11:51 -0600
commit87071200872c2450c947047350132aee493033c1 (patch)
tree49109532d9bbd148b4e59043120037684093be33 /tools/coverage.sh
parent16379362c02a2472f00fac49cad62788547c9519 (diff)
Get basic CSV parser operating.
Diffstat (limited to 'tools/coverage.sh')
-rwxr-xr-xtools/coverage.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/tools/coverage.sh b/tools/coverage.sh
index b41c66e..870e1f9 100755
--- a/tools/coverage.sh
+++ b/tools/coverage.sh
@@ -4,8 +4,9 @@ set -e
PROJ_ROOT=$(git rev-parse --show-toplevel)
cd $PROJ_ROOT
-HTML_DIR=build/coverage/html
+HTML_DIR=coverage/html
ctest --test-dir build/test -j8
+cd build
mkdir -p ${HTML_DIR}
-gcovr --exclude-throw-branches --exclude build/_deps/ --exclude test -r . --html-details ${HTML_DIR}/gcovr_report.html
+gcovr --exclude-throw-branches --exclude _deps/ --exclude ../test -r . --html-details ${HTML_DIR}/gcovr_report.html