From 48615ca0da4a4521fdf632ec3cbc45286919f996 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Thu, 14 Sep 2006 03:13:02 +0000 Subject: r18494: don't count 'DWARF2 CFI reader' messages as valgrind failures (This used to be commit f7eaa03d6f6f28408d8e6a7e33c540e50cbed3a1) --- source4/script/tests/selftest.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/script/tests') diff --git a/source4/script/tests/selftest.sh b/source4/script/tests/selftest.sh index a6b1cb7fc3..5b62af08a9 100755 --- a/source4/script/tests/selftest.sh +++ b/source4/script/tests/selftest.sh @@ -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 -- cgit