From: Jiaying Song Date: Thu, 4 Dec 2025 06:00:53 +0000 (+0800) Subject: icu: exclude debug files from ptest execution X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=956a4118d3d6beefd2853b159282ce77c026ab71;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git icu: exclude debug files from ptest execution 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 Signed-off-by: Mathieu Dubois-Briand Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-support/icu/icu/run-ptest b/meta/recipes-support/icu/icu/run-ptest index e5bf27a8222..ccf1d99a36c 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