diff options
author | Dominick Allen <djallen@librehumanitas.org> | 2024-10-17 19:42:29 -0500 |
---|---|---|
committer | Dominick Allen <djallen@librehumanitas.org> | 2024-10-17 19:42:29 -0500 |
commit | 8249b28bea29e8ce17eac12776a60ec3f9e47176 (patch) | |
tree | 98318d7564b5f618cfb59e23cc6b918fcab88ee8 /tools | |
parent | b32e83ece42cec5aa9dee370bcdf349d23dbc8ba (diff) |
Rename InvalidInput to ArgumentInvalid.
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/coverage.sh | 9 |
1 files changed, 7 insertions, 2 deletions
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 |