From: "Dixit Parmar" <dixitparmar19@gmail.com>
To: openembedded-core@lists.openembedded.org
Subject: Re: [PATCH v3] meta/meta-selftest: add selftest-hello-mod recipe
Date: Mon, 23 Jun 2025 23:37:57 -0700 [thread overview]
Message-ID: <4249.1750747077194924898@lists.openembedded.org> (raw)
In-Reply-To: <A36DC5A7-62C8-4208-B5AF-72F16019A6D0@arm.com>
[-- Attachment #1: Type: text/plain, Size: 1443 bytes --]
On Mon, Jun 23, 2025 at 10:20 PM, Ross Burton wrote:
>
> On 21 Jun 2025, at 08:31, Dixit Parmar via lists.openembedded.org
> <dixitparmar19=gmail.com@lists.openembedded.org> wrote:
>
>> Kernel module specific oe test cases requires a test kernel
>> module package to work with. Added selftest-hello-mod
>> derived from meta-skeleton/recipes-kernel/hello-mod.
>
> Is there meant to be an actual test case to follow this up?
Yes, it's here https://lists.openembedded.org/g/openembedded-core/message/218013 - please review this too ;)
>
> There’s already a kernel module in oeqa under
> meta/lib/oeqa/runtime/files/hellomod.c, I’ve previously tried adding more
> test cases around them (for SDKs not selftest though):
>
> https://git.yoctoproject.org/poky-contrib/log/?h=ross/module
>
> Maybe instead of duplicating the kernel module more we move the source and
> Makefile into meta/lib/oeqa/files/kmodule/ and then the tests can easily
> use them, and the recipe could set SRC_URI to
> ${COREBASE}/lib/oeqa/files/kmodule/hellomod.c.
I created a new recipe with the corresponding source files with the idea of having an independent self-test package for hello-mod. This is included in the meta-selftest so it can be used for other kernel module-related test cases in the future. I can modify it to point to the source and Makefile outside of the package if you recommend, though.
>
> Cheers,
> Ross
[-- Attachment #2: Type: text/html, Size: 1771 bytes --]
prev parent reply other threads:[~2025-06-24 6:38 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-06-21 7:31 [PATCH v3] meta/meta-selftest: add selftest-hello-mod recipe Dixit Parmar
2025-06-23 16:50 ` [OE-core] " Ross Burton
2025-06-24 6:37 ` Dixit Parmar [this message]
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=4249.1750747077194924898@lists.openembedded.org \
--to=dixitparmar19@gmail.com \
--cc=openembedded-core@lists.openembedded.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox