From: Bart Van Assche Date: Wed, 22 Jul 2009 18:40:00 +0000 (+0000) Subject: Filtered out the "More than 100 errors detected." message. X-Git-Tag: svn/VALGRIND_3_5_0~321 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b1b07a86e9a93ff133fe89bf68bd76cc1fa4d5dc;p=thirdparty%2Fvalgrind.git Filtered out the "More than 100 errors detected." message. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10527 --- diff --git a/drd/tests/filter_stderr b/drd/tests/filter_stderr index c52d8c4054..828f53937d 100755 --- a/drd/tests/filter_stderr +++ b/drd/tests/filter_stderr @@ -28,6 +28,10 @@ sed \ -e "s/ (\([a-zA-Z_]*\.h\):[0-9]*)/ (\1:?)/" \ -e "s/ (\([a-zA-Z_]*\.cpp\):[0-9]*)/ (\1:?)/" | +# Remove the message that more than hundred errors have been detected +# (consists of two lines) and also the empty line below it. +awk '{if ($0 == "More than 100 errors detected. Subsequent errors") {getline;getline} else print}' | + # Anonymise addresses $dir/../../tests/filter_addresses diff --git a/drd/tests/tc19_shadowmem.stderr.exp-32bit b/drd/tests/tc19_shadowmem.stderr.exp-32bit index 9a5889776b..0c2452a668 100644 --- a/drd/tests/tc19_shadowmem.stderr.exp-32bit +++ b/drd/tests/tc19_shadowmem.stderr.exp-32bit @@ -910,9 +910,6 @@ Address 0x........ is at offset 0 from 0x......... Allocation context: by 0x........: main (tc19_shadowmem.c:144) ---------- short gran, 1 .. 98, skip 1 ---------- -More than 100 errors detected. Subsequent errors -will still be recorded, but in less detail than before. - Conflicting store by thread x at 0x........ size 2 at 0x........: child16 (tc19_shadowmem.c:57) by 0x........: steer (tc19_shadowmem.c:290) diff --git a/drd/tests/tc19_shadowmem.stderr.exp-64bit b/drd/tests/tc19_shadowmem.stderr.exp-64bit index 7daac179d4..c98120ca9d 100644 --- a/drd/tests/tc19_shadowmem.stderr.exp-64bit +++ b/drd/tests/tc19_shadowmem.stderr.exp-64bit @@ -910,9 +910,6 @@ Address 0x........ is at offset 0 from 0x......... Allocation context: by 0x........: main (tc19_shadowmem.c:144) ---------- short gran, 1 .. 98, skip 1 ---------- -More than 100 errors detected. Subsequent errors -will still be recorded, but in less detail than before. - Conflicting store by thread x at 0x........ size 2 at 0x........: child16 (tc19_shadowmem.c:57) by 0x........: steer (tc19_shadowmem.c:290)