From: Jiaying Song <[email protected]> When EXTRA_IMAGE_FEATURES contains dbg-pkgs, a .debug directory is created containing debug symbol files that cannot be executed, causing ptest failures such as:
/usr/lib64/icu/ptest/run-ptest: line 7: ././.debug/cintltst: cannot execute binary file: Exec format error FAIL: ./.debug/cintltst Modify run-ptest script to skip .debug directory files during test execution. Signed-off-by: Jiaying Song <[email protected]> --- meta/recipes-support/icu/icu/run-ptest | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-support/icu/icu/run-ptest b/meta/recipes-support/icu/icu/run-ptest index e5bf27a822..ccf1d99a36 100755 --- a/meta/recipes-support/icu/icu/run-ptest +++ b/meta/recipes-support/icu/icu/run-ptest @@ -2,7 +2,7 @@ TOPDIR=$(dirname "$(realpath $0)") cd ${TOPDIR}/test/tests -TESTS=$(find . -executable -type f) +TESTS=$(find . -executable -type f ! -path "*/.debug/*") for t in ${TESTS}; do ./$t if [ "$?" = "0" ]; then -- 2.34.1
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#227268): https://lists.openembedded.org/g/openembedded-core/message/227268 Mute This Topic: https://lists.openembedded.org/mt/116608539/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
