On 20 Jan 2026, at 07:39, Shaik Moin via lists.openembedded.org
<[email protected]> wrote:
> +echo "START: ptest-runner"
> +date +"%Y-%m-%dT%H:%M"
> +echo "BEGIN: $(pwd)"
This isn’t ptest-runner, this is libpcre. You can drop these lines.
> +if [ -n "$results" ]; then
> + printf "%b\n" "$results"
> +fi
This has already been printed, not sure I see the value of printing it again.
> +do_install_ptest() {
> + t=${D}${PTEST_PATH}
> + cp -r ${S}/testdata $t
> + for i in pcre2posix_test pcre2grep pcre2test; \
> + do cp ${B}/.libs/$i $t; \
This assumes that libtool is putting temporary files in specific location.
Instead, use libtool to install libtool-built binaries:
${B}/libtool —mode=install install ${B}/$i $t
> + # Skip the fr_FR locale test. If the locale fr_FR is found, it is
> tested.
> + # If not found, the test is skipped. The test program assumes fr_FR
> is non-UTF-8
> + # locale so the test fails if fr_FR is UTF-8 locale.
> + sed -i -e 's:do3=yes:do3=no:g' ${D}${PTEST_PATH}/RunTest
Probably worth filing an upstream bug about that assumption.
Ross
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#230002):
https://lists.openembedded.org/g/openembedded-core/message/230002
Mute This Topic: https://lists.openembedded.org/mt/117360110/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-