From 8249b28bea29e8ce17eac12776a60ec3f9e47176 Mon Sep 17 00:00:00 2001 From: Dominick Allen Date: Thu, 17 Oct 2024 19:42:29 -0500 Subject: Rename InvalidInput to ArgumentInvalid. --- tools/coverage.sh | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'tools/coverage.sh') diff --git a/tools/coverage.sh b/tools/coverage.sh index 5caa6f0..95eef03 100755 --- a/tools/coverage.sh +++ b/tools/coverage.sh @@ -1,5 +1,10 @@ #!/bin/sh +PROJ_ROOT=$(git rev-parse --show-toplevel) +cd $PROJ_ROOT + +HTML_DIR=build/coverage/html + 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 +mkdir -p ${HTML_DIR} +gcovr --exclude-throw-branches --exclude build/_deps/ --exclude test -r . --html-details ${HTML_DIR}/gcovr_report.html -- cgit v1.2.3