### Check the node installation
-for pkg in valgrind
+for pkg in valgrind pcregrep
do
if command -v $pkg
then
cd $WORKSPACE/build
if [ -f Testing/TAG ] ; then
find $WORKSPACE -iname "*.memcheck" -exec mv {} $WORKSPACE/memcheck \;
+ #remove all "empty" files
+ pcregrep -r -l -M "status\>\n\n\<errorcounts" $WORKSPACE/memcheck/* | xargs rm -f
mv Testing/`head -n 1 < Testing/TAG`/Test.xml $WORKSPACE/DynamicAnalysis.xml
fi