blob: b41c66e04b4243dc217483510a39c72ab74dcf9d (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
#!/bin/sh
set -e
PROJ_ROOT=$(git rev-parse --show-toplevel)
cd $PROJ_ROOT
HTML_DIR=build/coverage/html
ctest --test-dir build/test -j8
mkdir -p ${HTML_DIR}
gcovr --exclude-throw-branches --exclude build/_deps/ --exclude test -r . --html-details ${HTML_DIR}/gcovr_report.html
|