dev-tools: Add glib valgrind suppressions

The local glib subproject doesn't exist so the glib/glib.supp file
cannot be included.

As it is needed for the do_lookup_by_name() function call, let's add the
system wide suppression file so that its version matches the installed glib
version.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5434>
This commit is contained in:
Detlev Casanova 2023-10-20 14:46:23 -04:00
parent 3796ee2466
commit 78e40a018f

View file

@ -84,6 +84,7 @@ class GstCheckTest(MesonTest):
def get_valgrind_suppressions(self):
result = super().get_valgrind_suppressions()
result.extend(get_gst_build_valgrind_suppressions())
result.append("/usr/share/glib-2.0/valgrind/glib.supp")
return result