Re: [OE-core] [PATCH V2] procps: support ptest when TCLIBC is glibc

Ross Burton
2026-03-05T15:17:34Z

On 27 Feb 2026, at 06:49, Changqing Li via lists.openembedded.org <changqing.li=windriver.com@lists.openembedded.org> wrote:
> -inherit autotools gettext pkgconfig update-alternatives
> +inherit autotools gettext pkgconfig update-alternatives ${@bb.utils.contains('TCLIBC', 'glibc', 'ptest', '', d)}

To match the logic in the ptest image where the test is “disable if musl” not “enable if glibc”, you could always inherit ptest and then simply do PTEST_ENABLED:libc-musl = “0”

> + src/tests/*)
> + install -m 0755 ${B}/$p ${D}${PTEST_PATH}/src/tests/ ;;
> + library/tests/*)
> + install -m 0755 ${B}/library/tests/.libs/$(basename $p) ${D}${PTEST_PATH}/src/tests/ ;;

If libtool build a binary then please always use libtool to install it. You might be able to remove the conditional here and just always do:

${B}/libtool —mode=install install -m 0755 ${B}/$p ${D}${PTEST_PATH}/src/tests/

Ross