From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: HimaniRamesh.Barde@windriver.com,
openembedded-core@lists.openembedded.org
Cc: Randy.MacLeod@windriver.com, ross.burton@arm.com
Subject: Re: [OE-core][PATCH] systemd: re-enable ptest support
Date: Fri, 04 Sep 2026 17:34:56 +0100 [thread overview]
Message-ID: <459ee648f0e733958f7e0d21074d3fa41e77248a.camel@linuxfoundation.org> (raw)
In-Reply-To: <20260904080004.2501262-1-HimaniRamesh.Barde@windriver.com>
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 <HimaniRamesh.Barde@windriver.com>
> ---
> 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
next prev parent reply other threads:[~2026-09-04 16:35 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-04 8:00 [OE-core][PATCH] systemd: re-enable ptest support Himani Ramesh Barde
2026-09-04 8:06 ` Barde, Himani Ramesh
2026-09-04 16:34 ` Richard Purdie [this message]
2026-09-04 16:42 ` Khem Raj
2026-09-04 22:56 ` Jose Quaresma
-- strict thread matches above, loose matches on Subject: below --
2026-09-04 8:02 Himani Ramesh Barde
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=459ee648f0e733958f7e0d21074d3fa41e77248a.camel@linuxfoundation.org \
--to=richard.purdie@linuxfoundation.org \
--cc=HimaniRamesh.Barde@windriver.com \
--cc=Randy.MacLeod@windriver.com \
--cc=openembedded-core@lists.openembedded.org \
--cc=ross.burton@arm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.