From: Khem Raj Date: Fri, 15 Sep 2023 15:34:14 +0000 (-0700) Subject: util-linux: Disable failing tests on musl X-Git-Tag: yocto-5.2~5148 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0190b3eb67d02ecf42531a7c087a5a6f75ee7a5e;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git util-linux: Disable failing tests on musl These tests need strptime with %s which is glibc specific extention Signed-off-by: Khem Raj Signed-off-by: Richard Purdie --- 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 c81405533c4..821a44a1453 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 +}