From 4f4cb697c39aad2245687ecd4aeea88f2a56aef6 Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Sun, 5 Mar 2017 15:09:54 +0000 Subject: make jenkins coverage target exclude test sources --- citools/jenkins-build.sh | 3 +-- 1 file changed, 1 insertion(+), 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 -- cgit v1.2.3