On Wed, 26 Aug 2026 at 10:27, Pratik Farkase via
lists.openembedded.org
<[email protected]> wrote:
> +    # Remove tests incompatible with ptest environment:
> +    # levels.sh: --ultra/--max levels require >8GB RAM
> +    rm -f ${D}${PTEST_PATH}/tests/cli-tests/compression/levels.sh
> +    # window-resize.sh: 1GB window size requires >4GB RAM
> +    rm -f ${D}${PTEST_PATH}/tests/cli-tests/compression/window-resize.sh

Earlier versions of the patch adjusted RAM allocation for the image,
and this one removes the tests instead. Why was this changed?
Adjusting RAM is better, and it's standard procedure for ptests.

> +    # compress-file-to-dir-without-write-perm.sh: ptest runs as root,
> +    # which bypasses filesystem permission checks
> +    rm -f 
> ${D}${PTEST_PATH}/tests/cli-tests/file-stat/compress-file-to-dir-without-write-perm.sh

This as well should not be done: rather run ptests as a regular user,
for example look at meta/recipes-extended/cpio/files/run-ptest.

> +    # cltools/: zstdgrep requires GNU grep --label option not available
> +    # in BusyBox grep
> +    rm -rf ${D}${PTEST_PATH}/tests/cli-tests/cltools

This can addressed by adding GNU grep to ptest's package RDEPENDS.

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

Reply via email to