From: Bart Van Assche Date: Sat, 26 Apr 2008 18:57:18 +0000 (+0000) Subject: Filtered out malloc/free statistics. X-Git-Tag: svn/VALGRIND_3_4_0~694 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=62d0823f4b1efdd97d8c31fe0b107f3a8163a0fb;p=thirdparty%2Fvalgrind.git Filtered out malloc/free statistics. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7929 --- diff --git a/memcheck/tests/leak-pool-0.stderr.exp b/memcheck/tests/leak-pool-0.stderr.exp index 1f5705e8eb..7a5680c58f 100644 --- a/memcheck/tests/leak-pool-0.stderr.exp +++ b/memcheck/tests/leak-pool-0.stderr.exp @@ -1,7 +1,7 @@ ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) -malloc/free: in use at exit: 4,108 bytes in 2 blocks. -malloc/free: 102 allocs, 0 frees, 4,908 bytes allocated. +malloc/free: in use at exit: ... bytes in ... blocks. +malloc/free: ... allocs, ... frees, ... bytes allocated. For a detailed leak analysis, rerun with: --leak-check=yes For counts of detected errors, rerun with: -v diff --git a/memcheck/tests/leak-pool-0.vgtest b/memcheck/tests/leak-pool-0.vgtest index c7ad718bc3..31211c26ba 100644 --- a/memcheck/tests/leak-pool-0.vgtest +++ b/memcheck/tests/leak-pool-0.vgtest @@ -1,2 +1,3 @@ prog: leak-pool args: 0 +stderr_filter: filter_allocs diff --git a/memcheck/tests/leak-pool-1.stderr.exp b/memcheck/tests/leak-pool-1.stderr.exp index 1f5705e8eb..7a5680c58f 100644 --- a/memcheck/tests/leak-pool-1.stderr.exp +++ b/memcheck/tests/leak-pool-1.stderr.exp @@ -1,7 +1,7 @@ ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) -malloc/free: in use at exit: 4,108 bytes in 2 blocks. -malloc/free: 102 allocs, 0 frees, 4,908 bytes allocated. +malloc/free: in use at exit: ... bytes in ... blocks. +malloc/free: ... allocs, ... frees, ... bytes allocated. For a detailed leak analysis, rerun with: --leak-check=yes For counts of detected errors, rerun with: -v diff --git a/memcheck/tests/leak-pool-1.vgtest b/memcheck/tests/leak-pool-1.vgtest index 4834267da8..9592d561ed 100644 --- a/memcheck/tests/leak-pool-1.vgtest +++ b/memcheck/tests/leak-pool-1.vgtest @@ -1,2 +1,3 @@ prog: leak-pool args: 1 +stderr_filter: filter_allocs diff --git a/memcheck/tests/leak-pool-2.stderr.exp b/memcheck/tests/leak-pool-2.stderr.exp index 1f5705e8eb..7a5680c58f 100644 --- a/memcheck/tests/leak-pool-2.stderr.exp +++ b/memcheck/tests/leak-pool-2.stderr.exp @@ -1,7 +1,7 @@ ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) -malloc/free: in use at exit: 4,108 bytes in 2 blocks. -malloc/free: 102 allocs, 0 frees, 4,908 bytes allocated. +malloc/free: in use at exit: ... bytes in ... blocks. +malloc/free: ... allocs, ... frees, ... bytes allocated. For a detailed leak analysis, rerun with: --leak-check=yes For counts of detected errors, rerun with: -v diff --git a/memcheck/tests/leak-pool-2.vgtest b/memcheck/tests/leak-pool-2.vgtest index cbfcc9bbe3..cd35279c96 100644 --- a/memcheck/tests/leak-pool-2.vgtest +++ b/memcheck/tests/leak-pool-2.vgtest @@ -1,2 +1,3 @@ prog: leak-pool args: 2 +stderr_filter: filter_allocs diff --git a/memcheck/tests/leak-pool-3.stderr.exp b/memcheck/tests/leak-pool-3.stderr.exp index 1f5705e8eb..7a5680c58f 100644 --- a/memcheck/tests/leak-pool-3.stderr.exp +++ b/memcheck/tests/leak-pool-3.stderr.exp @@ -1,7 +1,7 @@ ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) -malloc/free: in use at exit: 4,108 bytes in 2 blocks. -malloc/free: 102 allocs, 0 frees, 4,908 bytes allocated. +malloc/free: in use at exit: ... bytes in ... blocks. +malloc/free: ... allocs, ... frees, ... bytes allocated. For a detailed leak analysis, rerun with: --leak-check=yes For counts of detected errors, rerun with: -v diff --git a/memcheck/tests/leak-pool-3.vgtest b/memcheck/tests/leak-pool-3.vgtest index 4760d265f6..07495bf590 100644 --- a/memcheck/tests/leak-pool-3.vgtest +++ b/memcheck/tests/leak-pool-3.vgtest @@ -1,2 +1,3 @@ prog: leak-pool args: 3 +stderr_filter: filter_allocs diff --git a/memcheck/tests/leak-pool-4.stderr.exp b/memcheck/tests/leak-pool-4.stderr.exp index 1f5705e8eb..7a5680c58f 100644 --- a/memcheck/tests/leak-pool-4.stderr.exp +++ b/memcheck/tests/leak-pool-4.stderr.exp @@ -1,7 +1,7 @@ ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) -malloc/free: in use at exit: 4,108 bytes in 2 blocks. -malloc/free: 102 allocs, 0 frees, 4,908 bytes allocated. +malloc/free: in use at exit: ... bytes in ... blocks. +malloc/free: ... allocs, ... frees, ... bytes allocated. For a detailed leak analysis, rerun with: --leak-check=yes For counts of detected errors, rerun with: -v diff --git a/memcheck/tests/leak-pool-4.vgtest b/memcheck/tests/leak-pool-4.vgtest index b99ce6d99b..fa97173c54 100644 --- a/memcheck/tests/leak-pool-4.vgtest +++ b/memcheck/tests/leak-pool-4.vgtest @@ -1,2 +1,3 @@ prog: leak-pool args: 4 +stderr_filter: filter_allocs diff --git a/memcheck/tests/leak-pool-5.stderr.exp b/memcheck/tests/leak-pool-5.stderr.exp index 1f5705e8eb..7a5680c58f 100644 --- a/memcheck/tests/leak-pool-5.stderr.exp +++ b/memcheck/tests/leak-pool-5.stderr.exp @@ -1,7 +1,7 @@ ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) -malloc/free: in use at exit: 4,108 bytes in 2 blocks. -malloc/free: 102 allocs, 0 frees, 4,908 bytes allocated. +malloc/free: in use at exit: ... bytes in ... blocks. +malloc/free: ... allocs, ... frees, ... bytes allocated. For a detailed leak analysis, rerun with: --leak-check=yes For counts of detected errors, rerun with: -v diff --git a/memcheck/tests/leak-pool-5.vgtest b/memcheck/tests/leak-pool-5.vgtest index 7512c547a8..d0c4fc7f93 100644 --- a/memcheck/tests/leak-pool-5.vgtest +++ b/memcheck/tests/leak-pool-5.vgtest @@ -1,2 +1,3 @@ prog: leak-pool args: 5 +stderr_filter: filter_allocs