#!/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