Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
This regexp excluded some files showing errors from valgrind analysis ...
authordegomme <augustin.degomme@unibas.ch>
Sun, 19 Mar 2017 11:47:57 +0000 (12:47 +0100)
committerdegomme <augustin.degomme@unibas.ch>
Sun, 19 Mar 2017 11:47:57 +0000 (12:47 +0100)
This should make the number of reported errors explode. Let's check which ones are meaningful, though.

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
 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
 
    mv Testing/`head -n 1 < Testing/TAG`/Test.xml  $WORKSPACE/DynamicAnalysis.xml
 fi