From: "Antonin Godard" <antonin.godard@bootlin.com>
To: "Robert P. J. Day" <rpjday@crashcourse.ca>,
"YP docs mailing list" <docs@lists.yoctoproject.org>
Subject: Re: [docs] [PATCH] ref-manual: add more explanation for ptest-related tasks
Date: Fri, 26 Jun 2026 09:54:08 +0200 [thread overview]
Message-ID: <DJITHTKC9E7R.GL4SZH0CH92V@bootlin.com> (raw)
In-Reply-To: <f164c2a2-623b-a0b9-f0a9-de488e3c90b8@crashcourse.ca>
Hi,
On Thu Jun 25, 2026 at 5:42 PM CEST, Robert P. J. Day wrote:
[...]
> ``do_install_ptest_base``
> -------------------------
>
> -Copies the runtime test suite files from the compilation directory to a
> -holding area.
> +As defined in the :ref:`ref-classes-ptest` class, this task contains generic
> +installation code that will be invoked for all ptest-enabled recipes to
> +install the associated ptest package::
> +
> + do_install_ptest_base() {
> + if [ -f ${UNPACKDIR}/run-ptest ]; then
> + install -D ${UNPACKDIR}/run-ptest ${D}${PTEST_PATH}/run-ptest
> + fi
> +
> + grep -q install-ptest: Makefile 2>/dev/null && oe_runmake DESTDIR=${D}${PTEST_PATH} install-ptest
> +
> + do_install_ptest
> +
> + ... snip ...
> +
> + }
I am reluctant to include copy-pasted code-snippets from OE-Core, they change
over time and add maintenance burden. Can you remove it?
Antonin
next prev parent reply other threads:[~2026-06-26 7:54 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-06-25 15:42 [PATCH] ref-manual: add more explanation for ptest-related tasks Robert P. J. Day
2026-06-26 7:54 ` Antonin Godard [this message]
2026-06-26 8:08 ` [docs] " Robert P. J. Day
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=DJITHTKC9E7R.GL4SZH0CH92V@bootlin.com \
--to=antonin.godard@bootlin.com \
--cc=docs@lists.yoctoproject.org \
--cc=rpjday@crashcourse.ca \
/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.