tests: Include unit test code in coverage report

This helps to make sure that all unit test are run.
This commit is contained in:
Lukas Woodtli 2024-08-16 22:09:54 +02:00 committed by Lukas Woodtli
parent d658d7311c
commit 847ff35daa

View File

@ -183,8 +183,7 @@ function run_tests() {
#see https://github.com/koalaman/shellcheck/wiki/SC2089
gcovr_opts=(-r "${REPO_ROOT_DIR}/" \
--keep `: # Needed for SonarQube` \
--exclude "${REPO_ROOT_DIR}"/examples \
--exclude "${REPO_ROOT_DIR}"/tests)
--exclude "${REPO_ROOT_DIR}"/examples)
case "${OPT_TEST_COVERAGE_REPORT}" in
xml)