blob: 870e1f9f0f9b53103fcff4b88a924914effe5007 (
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=coverage/html
ctest --test-dir build/test -j8
cd build
mkdir -p ${HTML_DIR}
gcovr --exclude-throw-branches --exclude _deps/ --exclude ../test -r . --html-details ${HTML_DIR}/gcovr_report.html
|