From: Gyorgy Sarvari <skandigraun@gmail.com>
To: yocto@lists.yoctoproject.org, joaohf@gmail.com
Subject: Re: [yocto] Adding oeqa runtime decorators to custom layers
Date: Mon, 11 Aug 2025 11:27:34 +0200 [thread overview]
Message-ID: <5fa03be4-429a-4a95-bd53-d82d9be4615e@gmail.com> (raw)
In-Reply-To: <CANFVK78jqC2NVZW03JZ5YUgi4xO0mhR7n7iBUm3iefcpsbZFuQ@mail.gmail.com>
On 8/7/25 20:44, João Henrique Ferreira de Freitas via
lists.yoctoproject.org wrote:
>
>
> Hi,
>
> In my layer I have some oeqa runtime tests. That is ok and well
> documented in Yocto Project documentation. However, I also want to
> define my custom oeqa runtime decorators. Is that possible ?
>
> I tried to add the following in my layer.conf:
>
> BBFILES+="${LAYERDIR}/lib/oeqa/**/*.py"
>
> No success, so far.
>
> I'm using master branch and could not find any other layer that adds
> its own decorators. Any ideas ?
Only an idea... BBFILES variable is used to collect the patterns for bb
and bbappend files. To add custom python code, you should use the
"addpylib" directive[1] in your config. I *think* it should take effect
for oeqa tests also, but haven't tried, and that's why it is an idea only.
[1]:
https://docs.yoctoproject.org/bitbake/2.8/bitbake-user-manual/bitbake-user-manual-metadata.html#extending-python-library-code
>
> Thanks.
> --
> João Henrique Ferreira de Freitas - joaohf_at_gmail.com
> <http://joaohf_at_gmail.com>
> Campinas-SP-Brasil
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#65738): https://lists.yoctoproject.org/g/yocto/message/65738
> Mute This Topic: https://lists.yoctoproject.org/mt/114588099/6084445
> Group Owner: yocto+owner@lists.yoctoproject.org
> Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [skandigraun@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
next prev parent reply other threads:[~2025-08-11 9:27 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-08-07 18:44 Adding oeqa runtime decorators to custom layers João Henrique Freitas
2025-08-11 9:27 ` Gyorgy Sarvari [this message]
2025-08-17 0:18 ` [yocto] " João Henrique Freitas
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=5fa03be4-429a-4a95-bd53-d82d9be4615e@gmail.com \
--to=skandigraun@gmail.com \
--cc=joaohf@gmail.com \
--cc=yocto@lists.yoctoproject.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 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.