blob: 0790d68965329c0b7402fa8c1ed01f2d29389397 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
#!/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
# cd build
mkdir -p ${HTML_DIR}
gcovr --exclude-throw-branches --exclude build/_deps/ --exclude test -r . --html-details ${HTML_DIR}/gcovr_report.html
|