Skip to content

Commit

Permalink
Docker: Exclude toolchain from coverage report
Browse files Browse the repository at this point in the history
  • Loading branch information
oschuett committed Mar 20, 2021
1 parent 37dca4f commit 1514939
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tools/docker/scripts/test_coverage.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,10 @@ done
# collect coverage stats
mkdir -p /workspace/artifacts/coverage
cd /workspace/artifacts/coverage || exit 1
lcov --directory "/workspace/cp2k/obj/${ARCH}/${VERSION}" --capture --output-file coverage.info > lcov.log
lcov --directory "/workspace/cp2k/obj/${ARCH}/${VERSION}" \
--exclude "/opt/cp2k-toolchain/*" \
--capture \
--output-file coverage.info > lcov.log
lcov --summary coverage.info

# generate html report
Expand Down

0 comments on commit 1514939

Please sign in to comment.