### Check the node installation
-for pkg in xsltproc valgrind
+for pkg in xsltproc valgrind gcovr
do
if dpkg -l |grep -q $pkg
then
fi
done
-if [ -e /usr/local/gcovr-3.1/scripts/gcovr ]
-then
- echo "gcovr is installed, good."
-else
- die "Please install /usr/local/gcovr-3.1/scripts/gcovr"
-fi
-
### Cleanup previous runs
! [ -z "$WORKSPACE" ] || die "No WORKSPACE"
ctest -D ExperimentalCoverage || true
if [ -f Testing/TAG ] ; then
- /usr/local/gcovr-3.1/scripts/gcovr -r .. --xml-pretty -e teshsuite.* -u -o $WORKSPACE/xml_coverage.xml
+ gcovr -r .. --xml-pretty -e teshsuite.* -u -o $WORKSPACE/xml_coverage.xml
xsltproc $WORKSPACE/tools/jenkins/ctest2junit.xsl Testing/`head -n 1 < Testing/TAG`/Test.xml > CTestResults_memcheck.xml
mv CTestResults_memcheck.xml $WORKSPACE
fi