]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
tcl: Forward port skip logic for musl ptests
authorKhem Raj <raj.khem@gmail.com>
Tue, 26 Mar 2024 05:27:08 +0000 (22:27 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 30 Mar 2024 22:20:28 +0000 (22:20 +0000)
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']}

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/tcltk/tcl_8.6.13.bb

index bb75353a5a84d24443a47b8e6cc27abec1c4c55b..06bf9007872cde3d589ca551f1f0c456d7bb412f 100644 (file)
@@ -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