Hi Patrik,

> On 4 Feb 2026, at 14:58, Pratik Farkase via lists.openembedded.org 
> <[email protected]> wrote:
> +do_install_ptest() {
> +    install -d ${D}${PTEST_PATH}/tests
> +
> +    if [ -f ${B}/tests/libconfig_tests ]; then
> +        ${B}/libtool --mode=install install -m 0755 
> ${B}/tests/libconfig_tests ${D}${PTEST_PATH}/tests/libconfig_tests
> +    fi
> +
> +    if [ -d ${S}/tests/testdata ]; then
> +        cp -r ${S}/tests/testdata ${D}${PTEST_PATH}/tests/
> +    fi
> +}

Same comments are before: don’t use conditions when installing or running the 
tests unless there’s a very good reason: we _want_ the build or tests to fail 
if things change.

(this one hasn’t merged, so please send a v4)

Thanks,
Ross

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#230891): 
https://lists.openembedded.org/g/openembedded-core/message/230891
Mute This Topic: https://lists.openembedded.org/mt/117635219/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to