]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
procps: support ptest when TCLIBC is glibc
authorChangqing Li <changqing.li@windriver.com>
Fri, 16 Jan 2026 09:27:04 +0000 (17:27 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 22 Jan 2026 14:21:52 +0000 (14:21 +0000)
commitfefaf8b0176ee91dd7705e99cbb30d9ac381c81f
treedf0b6d88a6f787567acdd790e71d0b1b587ed903
parent3ed5e8d08803098aa0f5d991057392b99ad075e2
procps: support ptest when TCLIBC is glibc

* support ptest for procps TCLIBC is glibc. The configure.ac only match
  LINUX as "linux-gnu", we can patch it to make test can run on musl lib
system, but the upstream testsuite should only run on gnu libc host,
some test cases only suitable for glibc, eg: Some of the error messages
for free command on musl system is not the same as glibc system, which
will make test failed. In order to avoid some other unexpected failure,
just support ptest for glibc.

* procps's testsuite use DejaGnu test framework.  The testsuite is
  expected to run during build time, this implementation create the same
folder structure as the testsuite expected to make it can work well.

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/conf/distro/include/ptest-packagelists.inc
meta/recipes-extended/procps/procps/run-ptest [new file with mode: 0644]
meta/recipes-extended/procps/procps_4.0.5.bb