summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2017-03-05 15:09:54 (GMT)
committer Vincent Sanders <vince@kyllikki.org>2017-03-05 15:09:54 (GMT)
commit4f4cb697c39aad2245687ecd4aeea88f2a56aef6 (patch)
treee63f9e714b617480b8794470472e9bcb6497c666
parentbeca51c1c24a9c7fd854a5b95e1dc0eb26a3cbf5 (diff)
downloadbuildsystem-4f4cb697c39aad2245687ecd4aeea88f2a56aef6.tar.gz
buildsystem-4f4cb697c39aad2245687ecd4aeea88f2a56aef6.tar.bz2
make jenkins coverage target exclude test sources
-rwxr-xr-xcitools/jenkins-build.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/citools/jenkins-build.sh b/citools/jenkins-build.sh
index 93c4bd3..42173c3 100755
--- a/citools/jenkins-build.sh
+++ b/citools/jenkins-build.sh
@@ -166,8 +166,7 @@ ${MAKE} Q= clean HOST=${HOST} VARIANT=${VARIANT}
if [ "x${HOST}" = "x${TARGET_COVERAGE}" ]; then
# Coverage Build
CFLAGS=-Wno-error ${MAKE} Q= HOST=${HOST} VARIANT=${VARIANT} coverage
- gcovr -x -r build-${BUILD}-${HOST}-${VARIANT}-lib-static -o coverage.xml
-
+ gcovr -v -x -r build-${BUILD}-${HOST}-${VARIANT}-lib-static -e '.*test/.*' -o coverage.xml
elif [ "x${HOST}" = "x${TARGET_STATIC}" ]; then
# static build