From 861a703c1afc9b8fad0226dd5408eb200a0085c1 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Mon, 25 Mar 2024 22:27:08 -0700 Subject: tcl: Forward port skip logic for musl ptests commit 9d1df0596f6f3db6f63ae83559fbea3cc372503a overhauled run-ptest script which did not consider the edits being done from recipe especially for musl ptests. Bring the skip editing to follow the new logic in run-ptest Fixes Failed ptests: {'tcl': ['unixInit.test']} (From OE-Core rev: 04a8f73762e86376dcd9dbe452cbc68b9fe83030) Signed-off-by: Khem Raj Cc: Ross Burton Signed-off-by: Richard Purdie --- meta/recipes-devtools/tcltk/tcl_8.6.13.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'meta/recipes-devtools') diff --git a/meta/recipes-devtools/tcltk/tcl_8.6.13.bb b/meta/recipes-devtools/tcltk/tcl_8.6.13.bb index bb75353a5a..06bf900787 100644 --- a/meta/recipes-devtools/tcltk/tcl_8.6.13.bb +++ b/meta/recipes-devtools/tcltk/tcl_8.6.13.bb @@ -88,7 +88,7 @@ do_install_ptest() { do_install_ptest:append:libc-musl () { # Assumes locales other than provided by musl-locales - sed -i -e "s|SKIPPED_TESTS='|SKIPPED_TESTS='unixInit-3* |" ${D}${PTEST_PATH}/run-ptest + sed -i '/SKIP="$SKIP socket.*$/a # unixInit-3* is suppressed due to hardcoded locale assumptions\nSKIP="$SKIP unixInit-3\\\*"' ${D}${PTEST_PATH}/run-ptest } # Fix some paths that might be used by Tcl extensions -- cgit v1.2.3-54-g00ecf