Commit 621dbc7f authored by Dominik Charousset's avatar Dominik Charousset

Exclude examples and tools from coverage report

parent 0f9defc9
...@@ -65,7 +65,7 @@ msOpts = "-DCAF_BUILD_STATIC_ONLY:BOOL=yes " + ...@@ -65,7 +65,7 @@ msOpts = "-DCAF_BUILD_STATIC_ONLY:BOOL=yes " +
// Called *after* a build succeeded. // Called *after* a build succeeded.
def coverageReport() { def coverageReport() {
dir('caf-sources') { dir('caf-sources') {
sh 'gcovr -e libcaf_test -e ".*/test/.*" -x -r .. > coverage.xml' sh 'gcovr -e examples -e tools -e libcaf_test -e ".*/test/.*" -e libcaf_core/caf/scheduler/profiled_coordinator.hpp -x -r .. > coverage.xml'
archiveArtifacts '**/coverage.xml' archiveArtifacts '**/coverage.xml'
cobertura([ cobertura([
autoUpdateHealth: false, autoUpdateHealth: false,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment