Previously we add suppression to glib.supp file (suppressions from Glib). Keep the glib.supp file pristine and add another file specific for SPICE. Signed-off-by: Frediano Ziglio <fziglio@xxxxxxxxxx> --- server/tests/Makefile.am | 2 +- server/tests/valgrind/glib.supp | 39 -------------------------------- server/tests/valgrind/spice.supp | 38 +++++++++++++++++++++++++++++++ 3 files changed, 39 insertions(+), 40 deletions(-) create mode 100644 server/tests/valgrind/spice.supp diff --git a/server/tests/Makefile.am b/server/tests/Makefile.am index 26aadd5f1..ccaf5c87c 100644 --- a/server/tests/Makefile.am +++ b/server/tests/Makefile.am @@ -1,7 +1,7 @@ NULL = @VALGRIND_CHECK_RULES@ -VALGRIND_SUPPRESSIONS_FILES = $(srcdir)/valgrind/glib.supp +VALGRIND_SUPPRESSIONS_FILES = $(srcdir)/valgrind/glib.supp $(srcdir)/valgrind/spice.supp EXTRA_DIST = \ $(VALGRIND_SUPPRESSIONS_FILES) \ meson.build \ diff --git a/server/tests/valgrind/glib.supp b/server/tests/valgrind/glib.supp index ca0684d6c..9236b3d16 100644 --- a/server/tests/valgrind/glib.supp +++ b/server/tests/valgrind/glib.supp @@ -543,42 +543,3 @@ ... fun:g_object_new_valist } - -{ - px_proxy_factory_get_proxies - Memcheck:Leak - fun:malloc - fun:tls_get_addr_tail - ... - fun:px_proxy_factory_get_proxies -} - -{ - px_proxy_factory_get_proxies2 - Memcheck:Leak - fun:malloc - ... - fun:__tls_get_addr - ... - fun:px_proxy_factory_get_proxies -} - -{ - gnutls_tls_rnd_leak - Memcheck:Leak - fun:malloc - ... - fun:__tls_get_addr - ... - fun:gnutls_rnd -} - -{ - gnutls_tls_p11_kit_leak - Memcheck:Leak - fun:malloc - ... - fun:__tls_get_addr - ... - fun:p11_kit_modules_load -} diff --git a/server/tests/valgrind/spice.supp b/server/tests/valgrind/spice.supp new file mode 100644 index 000000000..1bfe81006 --- /dev/null +++ b/server/tests/valgrind/spice.supp @@ -0,0 +1,38 @@ +{ + px_proxy_factory_get_proxies + Memcheck:Leak + fun:malloc + fun:tls_get_addr_tail + ... + fun:px_proxy_factory_get_proxies +} + +{ + px_proxy_factory_get_proxies2 + Memcheck:Leak + fun:malloc + ... + fun:__tls_get_addr + ... + fun:px_proxy_factory_get_proxies +} + +{ + gnutls_tls_rnd_leak + Memcheck:Leak + fun:malloc + ... + fun:__tls_get_addr + ... + fun:gnutls_rnd +} + +{ + gnutls_tls_p11_kit_leak + Memcheck:Leak + fun:malloc + ... + fun:__tls_get_addr + ... + fun:p11_kit_modules_load +} -- 2.20.1 _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/spice-devel