diff options
author | Dominick Allen <djallen@librehumanitas.org> | 2024-10-02 19:51:41 -0500 |
---|---|---|
committer | Dominick Allen <djallen@librehumanitas.org> | 2024-10-02 19:51:41 -0500 |
commit | f7eede23de6f78b2b33b477b2b4c5451141825d5 (patch) | |
tree | d698a92272b8e4a8428b82d9a21f3e98ed267a6d /tools/coverage.sh | |
parent | 32c722d50943bbdeba65a77d5e94f8692cf75f3c (diff) |
Add setup for coverage and cppcheck.
Diffstat (limited to 'tools/coverage.sh')
-rwxr-xr-x | tools/coverage.sh | 5 |
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 |