cd $WORKSPACE/build
if [ -f Testing/TAG ] ; then
find $WORKSPACE -iname "*.memcheck" -exec mv {} $WORKSPACE/memcheck \;
#remove all "empty" files
grep -r -L "error>" $WORKSPACE/memcheck | xargs rm -f
cd $WORKSPACE/build
if [ -f Testing/TAG ] ; then
find $WORKSPACE -iname "*.memcheck" -exec mv {} $WORKSPACE/memcheck \;
#remove all "empty" files
grep -r -L "error>" $WORKSPACE/memcheck | xargs rm -f