Re: [yocto] Adding oeqa runtime decorators to custom layers
Gyorgy Sarvari <[email protected]>
| Newsgroups | org.yoctoproject.lists.yocto |
|---|---|
| Message-ID | <[email protected]> |
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: [email protected]
> Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [[email protected]]
> -=-=-=-=-=-=-=-=-=-=-=-
>