Re: [yocto] Adding oeqa runtime decorators to custom layers
João Henrique Freitas <[email protected]>
| Newsgroups | org.yoctoproject.lists.yocto |
|---|---|
| Message-ID | <CANFVK78CfiGuLFTz2m1MgY6LBOo0k6ix9fD1dkZvse-AnySOvA@mail.gmail.com> |
Hi, Thank you. That worked as expected. Here is the final results: https://github.com/meta-erlang/meta-erlang/commit/b8259299bda02ddce0ab6d4b40423d6208b192c0 On Mon, Aug 11, 2025 at 6:27 AM Gyorgy Sarvari <[email protected]> wrote: > 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]] > > -=-=-=-=-=-=-=-=-=-=-=- > > > > -- João Henrique Ferreira de Freitas - joaohf_at_gmail.com Campinas-SP-Brasil