From 2f190c7a8cdc793faf5e929c783c7c1ff9fb968a Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Fri, 15 Sep 2023 08:34:14 -0700 Subject: [PATCH] util-linux: Disable failing tests on musl These tests need strptime with %s which is glibc specific extention (From OE-Core rev: 0190b3eb67d02ecf42531a7c087a5a6f75ee7a5e) Signed-off-by: Khem Raj Signed-off-by: Richard Purdie --- meta/recipes-core/util-linux/util-linux_2.39.1.bb | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/meta/recipes-core/util-linux/util-linux_2.39.1.bb b/meta/recipes-core/util-linux/util-linux_2.39.1.bb index c81405533c..821a44a145 100644 --- a/meta/recipes-core/util-linux/util-linux_2.39.1.bb +++ b/meta/recipes-core/util-linux/util-linux_2.39.1.bb @@ -322,3 +322,12 @@ do_install_ptest() { rm -rf ${D}${PTEST_PATH}/tests/ts/chfn fi } + +# Delete tests not working on musl +do_install_ptest:append:libc-musl() { + for t in tests/ts/col/multibyte \ + tests/ts/lib/timeutils \ + tests/ts/dmesg/limit; do + rm -rf ${D}${PTEST_PATH}/$t + done +}