From f7eede23de6f78b2b33b477b2b4c5451141825d5 Mon Sep 17 00:00:00 2001 From: Dominick Allen Date: Wed, 2 Oct 2024 19:51:41 -0500 Subject: Add setup for coverage and cppcheck. --- tools/coverage.sh | 5 +++++ 1 file changed, 5 insertions(+) create mode 100755 tools/coverage.sh (limited to 'tools/coverage.sh') 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 -- cgit v1.2.3