blob: 1c80a9c4725dbf32eeac0b30ee24c7b382c370c9 [file] [log] [blame]
#!/usr/bin/env bash
set -x
set -e
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/catalog/src -r ../ -o coverage.xml ./)
fi