From 761f26080a0529a157c1691325b9c17658342b59 Mon Sep 17 00:00:00 2001 From: Thibault Saunier Date: Tue, 29 Mar 2022 18:43:56 +0200 Subject: [PATCH] python: Add a suppression file for a leak in PyGObject And ensure that the CI runs GES valgrind test when we change the overrides as many GES tests are implemented in python Proper fix is at: https://gitlab.gnome.org/GNOME/pygobject/-/merge_requests/204 Part-of: --- .gitlab-ci.yml | 1 + subprojects/gst-python/testsuite/python.supp | 10 ++++++++++ 2 files changed, 11 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 0d6e3c5f7a..5569d53049 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -683,6 +683,7 @@ valgrind ges: - subprojects/gst-plugins-good/**/* - subprojects/gst-plugins-bad/**/* - subprojects/gst-editing-services/**/* + - subprojects/gst-python/**/* # ---- Integration ----- # diff --git a/subprojects/gst-python/testsuite/python.supp b/subprojects/gst-python/testsuite/python.supp index 556a69a48c..1b6eba79e4 100644 --- a/subprojects/gst-python/testsuite/python.supp +++ b/subprojects/gst-python/testsuite/python.supp @@ -524,3 +524,13 @@ Memcheck:Cond fun:PyUnicode_Decode } + +{ + https://gitlab.gnome.org/GNOME/pygobject/-/merge_requests/204 + Memcheck:Leak + match-leak-kinds: definite + fun:calloc + fun:g_malloc0 + obj:*site-packages/gi/_gi*.so* + ... +}