Gitiles
Code Review
Sign In
gerrit.named-data.net
/
ndn-cxx
/
a87e0a8616cd23fa312e8b42f6fade28074c52bd
/
.
/
.jenkins.d
/
30-coverage.sh
blob: 7b8f1af7bff264a51299f30711bb7b277c4965a6 [
file
] [
log
] [
blame
]
#!/usr/bin/env bash
set
-
x
IS_COVR
=
$
(
python
-
c
"print 'yes' if 'code-coverage' in '$JOB_NAME' else 'no'"
)
if
[[
$IS_COVR
==
"yes"
]];
then
BASE
=
"`pwd | sed -e 's|/|\\\/|g'`\\"
(
cd build
&&
gcovr
-
x
-
f $BASE
/
src
-
r
../
-
o coverage
.
xml
-
b
./)
fi