On Fri, 2026-09-04 at 08:00 +0000, Himani Ramesh Barde via
lists.openembedded.org wrote:
> ptest support for systemd was dropped in 2018 (commit 906230a73b3c)
> when the recipe switched to meson, as there was no easy way to
> install and run the test suite. Current systemd and meson resolve
> this: the meson 'install-tests' option installs the unit-test
> binaries and a run-unit-tests.py runner under
> ${prefix}/lib/systemd/tests, and run-unit-tests.py already emits
> PASS:/SKIP: results per test.
>
> Enable install-tests, package the installed tree into systemd-ptest,
> and add a run-ptest wrapper that drives run-unit-tests.py. This
> provides ptest coverage for the systemd:test and libsystemd meson
> unit-test suites.
>
> The test/units integration tests, which require a booted system, are
> out of scope here and can be addressed separately.
>
> Verified on systemd 257.6: -Dinstall-tests=true installs 313 test-*
> unit-test binaries plus run-unit-tests.py; systemd-ptest packages
> cleanly. The recipe change parses without error against oe-core
> master (261.2).
>
> [YOCTO #16386]
>
> Signed-off-by: Himani Ramesh Barde <[email protected]>
> ---
> meta/recipes-core/systemd/systemd/run-ptest | 11 +++++++++++
> meta/recipes-core/systemd/systemd_261.2.bb | 18 +++++++++++++++++-
> 2 files changed, 28 insertions(+), 1 deletion(-)
> create mode 100755 meta/recipes-core/systemd/systemd/run-ptest
First issue found in test:
https://autobuilder.yoctoproject.org/valkyrie/#/builders/10/builds/4554
Cheers,
Richard
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#245124):
https://lists.openembedded.org/g/openembedded-core/message/245124
Mute This Topic: https://lists.openembedded.org/mt/121086003/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-