From: Philippe Waroquiers Date: Sat, 4 Aug 2012 00:26:26 +0000 (+0000) Subject: Add non matching suppressions for suppfree test (more testing for suppr matching) X-Git-Tag: svn/VALGRIND_3_8_0~43 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d8576fd3bc74caa7f7a16656765b90e191061dad;p=thirdparty%2Fvalgrind.git Add non matching suppressions for suppfree test (more testing for suppr matching) git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12825 --- diff --git a/memcheck/tests/Makefile.am b/memcheck/tests/Makefile.am index d0470aa82e..1d4c028a90 100644 --- a/memcheck/tests/Makefile.am +++ b/memcheck/tests/Makefile.am @@ -196,7 +196,7 @@ EXTRA_DIST = \ supp1.stderr.exp supp1.vgtest \ supp2.stderr.exp supp2.vgtest \ supp.supp \ - suppfree.stderr.exp suppfree.vgtest \ + suppfree.stderr.exp suppfree.supp suppfree.vgtest \ test-plo-no.vgtest test-plo-no.stdout.exp \ test-plo-no.stderr.exp-le64 test-plo-no.stderr.exp-le32 \ test-plo-yes.vgtest test-plo-yes.stdout.exp \ diff --git a/memcheck/tests/suppfree.supp b/memcheck/tests/suppfree.supp new file mode 100644 index 0000000000..fd4724a97d --- /dev/null +++ b/memcheck/tests/suppfree.supp @@ -0,0 +1,57 @@ +{ + nonmatching1 + Memcheck:Free + fun:free + fun:dd + fun:ccc + fun:bbb + fun:aaa + fun:main +} + +{ + nonmatching2 + Memcheck:Free + fun:free + fun:ddd + fun:cc + fun:bbb + fun:aaa + fun:main +} + +{ + nonmatching3 + Memcheck:Free + fun:free + fun:ddd + fun:ccc + fun:xxxxxxxx + fun:bbb + fun:aaa + fun:main +} + +{ + nonmatching4 + Memcheck:Free + fun:free + fun:ddd + fun:ccc + ... + fun:bbb + fun:aaa + fun:main + fun:nonmatching +} + +{ + nonmatching5 + Memcheck:Free + fun:free + fun:ddd + obj:nonmatching + fun:bbb + fun:aaa + fun:main +} diff --git a/memcheck/tests/suppfree.vgtest b/memcheck/tests/suppfree.vgtest index a7789c3edc..dbdfec78d0 100644 --- a/memcheck/tests/suppfree.vgtest +++ b/memcheck/tests/suppfree.vgtest @@ -1,2 +1,2 @@ prog: suppfree -vgopts: -q +vgopts: --suppressions=suppfree.supp -q