summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/util-linux
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2023-09-15 08:34:14 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-09-20 08:57:26 +0100
commit2f190c7a8cdc793faf5e929c783c7c1ff9fb968a (patch)
treece0d75e5866172fe7571987b8d0f434a7f55ca3c /meta/recipes-core/util-linux
parent9e5a7a9497b7ed966ab4c7b364cf746f97016804 (diff)
downloadpoky-2f190c7a8cdc793faf5e929c783c7c1ff9fb968a.tar.gz
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 <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/util-linux')
-rw-r--r--meta/recipes-core/util-linux/util-linux_2.39.1.bb9
1 files changed, 9 insertions, 0 deletions
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() {
322 rm -rf ${D}${PTEST_PATH}/tests/ts/chfn 322 rm -rf ${D}${PTEST_PATH}/tests/ts/chfn
323 fi 323 fi
324} 324}
325
326# Delete tests not working on musl
327do_install_ptest:append:libc-musl() {
328 for t in tests/ts/col/multibyte \
329 tests/ts/lib/timeutils \
330 tests/ts/dmesg/limit; do
331 rm -rf ${D}${PTEST_PATH}/$t
332 done
333}