Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
This regexp excluded some files showing errors from valgrind analysis ...
[simgrid.git] / tools / jenkins / DynamicAnalysis.sh
index 53ec6d4..3a58949 100755 (executable)
@@ -63,7 +63,7 @@ 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
+   grep -r -L "error>" $WORKSPACE/memcheck | xargs rm -f
    mv Testing/`head -n 1 < Testing/TAG`/Test.xml  $WORKSPACE/DynamicAnalysis.xml
 fi