From 07bf0ce327f2f237dcdea51d0a4506955089b722 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Mon, 25 Sep 2023 11:10:18 -0700 Subject: glib-2.0: Remove failing ptests on musl FAIL: glib/convert.test (Child process killed by signal 6) FAIL: glib/collate.test (Child process killed by signal 6) FAIL: glib/gdatetime.test (Child process killed by signal 6) FAIL: glib/date.test (Child process killed by signal 6) FAIL: glib/converter-stream.test (Child process killed by signal 6) FAIL: glib/option-context.test (Child process killed by signal 6) (From OE-Core rev: a28e0d41fbb5027aa6d2537288a8acc7d53964e7) Signed-off-by: Khem Raj Signed-off-by: Alexandre Belloni Signed-off-by: Richard Purdie --- meta/recipes-core/glib-2.0/glib.inc | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/meta/recipes-core/glib-2.0/glib.inc b/meta/recipes-core/glib-2.0/glib.inc index 5183f37a6e..b946e798bb 100644 --- a/meta/recipes-core/glib-2.0/glib.inc +++ b/meta/recipes-core/glib-2.0/glib.inc @@ -134,7 +134,13 @@ do_install:append:class-target () { # https://gitlab.gnome.org/GNOME/glib/-/issues/2810 rm -f ${D}${datadir}/installed-tests/glib/thread-pool-slow.test } - +do_install:append:class-target:libc-musl () { + # Remove failing tests on musl libc systems, this helps set baseline for musl testing + # they remain to be rootcaused and fixed but marked known failures here. + for t in convert.test collate.test gdatetime.test date.test converter-stream.test option-context.test; do + rm -rf ${D}${datadir}/installed-tests/glib/$t + done +} # As we do not build python3 for windows, makes no sense to ship the script that's using it do_install:append:mingw32() { rm -f ${D}${bindir}/gtester-report -- cgit v1.2.3-54-g00ecf