r18494: don't count 'DWARF2 CFI reader' messages as valgrind failures
authorAndrew Tridgell <tridge@samba.org>
Thu, 14 Sep 2006 03:13:02 +0000 (03:13 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 19:18:38 +0000 (14:18 -0500)
(This used to be commit f7eaa03d6f6f28408d8e6a7e33c540e50cbed3a1)

source4/script/tests/selftest.sh

index a6b1cb7fc36256b8c584ef31f4f0fa913ea9ea7f..5b62af08a9fabd2c910b58470f2980bf80c28602 100755 (executable)
@@ -129,7 +129,7 @@ echo "END:   $END ($ARG0)";
 count=`find $PREFIX -name 'valgrind.log*' | wc -l`
 if [ "$count" != 0 ]; then
     for f in $PREFIX/valgrind.log*; do
-       if [ -s $f ]; then
+       if [ -s $f ] && grep -v DWARF2.CFI.reader $f > /dev/null; then
            echo "VALGRIND FAILURE";
            failed=`expr $failed + 1`
            cat $f