tcl: Forward port skip logic for musl ptests

commit 9d1df0596f 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 <raj.khem@gmail.com>
Cc: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Khem Raj
2024-03-25 22:27:08 -07:00
committed by Richard Purdie
parent b7df5bd45d
commit 861a703c1a

View 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