]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Add non matching suppressions for suppfree test (more testing for suppr matching)
authorPhilippe Waroquiers <philippe.waroquiers@skynet.be>
Sat, 4 Aug 2012 00:26:26 +0000 (00:26 +0000)
committerPhilippe Waroquiers <philippe.waroquiers@skynet.be>
Sat, 4 Aug 2012 00:26:26 +0000 (00:26 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12825

memcheck/tests/Makefile.am
memcheck/tests/suppfree.supp [new file with mode: 0644]
memcheck/tests/suppfree.vgtest

index d0470aa82e3b06d4bfb9714a83a89ee4b74da299..1d4c028a90b66fb870eb1f9f52c82375b5c507de 100644 (file)
@@ -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 (file)
index 0000000..fd4724a
--- /dev/null
@@ -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
+}
index a7789c3edc7a0aef427c984391644b66daf2a9a7..dbdfec78d0cb6044582ab1a7e482bfedee373b53 100644 (file)
@@ -1,2 +1,2 @@
 prog: suppfree
-vgopts: -q
+vgopts: --suppressions=suppfree.supp -q