summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/glib-2.0/glib-2.0_2.76.2.bb
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2023-05-27 16:07:31 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-05-28 09:09:47 +0100
commitd72aac4be901e2d721fe6cd477faf9a2ad5b5b72 (patch)
tree86f1fd37350e7dd7c083aed99f3e750d75656c41 /meta/recipes-core/glib-2.0/glib-2.0_2.76.2.bb
parent0b51f406d8fe1fbd19dbc058701bf745fdf209d2 (diff)
downloadpoky-d72aac4be901e2d721fe6cd477faf9a2ad5b5b72.tar.gz
glib: Fix ptest race issue
gio/tests/portal: Fix test ordering race When the gnome test runner executes the tests, the test appear to execute in disk order. This means it sometimes works and we sometimes see breakage in portal-support-snap and portal-support-snap-classic. The issue is that some tests create config files but some don't. If they run in the wrong order, tests see config files they shouldn't and break. Fix this by deleting the files after each test run, properly cleaning up after themselves. There are probably better ways to handle this but this patch should at least let us check this is the issue. I've tried to report upstream but their issue tracker account creation is struggling and I can't get my account to work. (From OE-Core rev: bff17171841fd15fb6084262e397c736005f7e3b) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/glib-2.0/glib-2.0_2.76.2.bb')
-rw-r--r--meta/recipes-core/glib-2.0/glib-2.0_2.76.2.bb1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-core/glib-2.0/glib-2.0_2.76.2.bb b/meta/recipes-core/glib-2.0/glib-2.0_2.76.2.bb
index f3a716eb9d..7a0ed6b603 100644
--- a/meta/recipes-core/glib-2.0/glib-2.0_2.76.2.bb
+++ b/meta/recipes-core/glib-2.0/glib-2.0_2.76.2.bb
@@ -15,6 +15,7 @@ SRC_URI = "${GNOME_MIRROR}/glib/${SHRT_VER}/glib-${PV}.tar.xz \
15 file://0001-meson-Run-atomics-test-on-clang-as-well.patch \ 15 file://0001-meson-Run-atomics-test-on-clang-as-well.patch \
16 file://0001-gio-tests-resources.c-comment-out-a-build-host-only-.patch \ 16 file://0001-gio-tests-resources.c-comment-out-a-build-host-only-.patch \
17 file://0001-Avoid-having-g_futex_simple-inadvertently-modify-err.patch \ 17 file://0001-Avoid-having-g_futex_simple-inadvertently-modify-err.patch \
18 file://fix-ptest.patch \
18 " 19 "
19SRC_URI:append:class-native = " file://relocate-modules.patch" 20SRC_URI:append:class-native = " file://relocate-modules.patch"
20 21