Re: [OE-core] [RFC v2 0/2] Add bblock helper script

Julien Stephan
2023-08-07T13:38:13Z

Le jeu. 27 juil. 2023 à 16:28, Alexander Kanavin
<alex.kanavin@gmail.com> a écrit :
>
> Sure; if you can write a script and show it here, we can figure out
> where to place the test officially.
>
> Alex

Hi Alexander,

I sent a v4 with an oeqa self test. What do you think about it?
https://lists.openembedded.org/g/openembedded-core/message/185408

Cheers
Julien

>
> On Thu, 27 Jul 2023 at 16:15, Julien Stephan <jstephan@baylibre.com> wrote:
> >
> > On Mon, Jul 24, 2023 at 10:36:28AM +0200, Alexander Kanavin wrote:
> > > On Mon, 24 Jul 2023 at 10:25, Julien Stephan <jstephan@baylibre.com> wrote:
> > > > > Thanks for working on this. Should we think about how this could be tested?
> > > > Do you mean we should consider addind self test for bblock? or you want
> > > > to discuss about acceptance criteria for bblock?
> > >
> > > Hello,
> > > I mean mostly about what should be tested. How can we verify that the
> > > script does what it's supposed to, in an automated way, so it won't
> > > silently break as new changes to bitbake/oe-core are added? What
> > > should such a test contain?
> > > The specific form of tests (whether it's selftest, or maybe a part of
> > > SDK testing, or something else) is secondary.
> > >
> > > Alex
> >
> > Hi Alex,
> >
> > I just send the v3 with a lot of improvements!
> >
> > Here is what I do during my dev:
> > - lock a recipe's task for a given arch (qemux86-64 vs qemuarm)
> > - modify the given task
> > - check that for the selected arch, task is locked (but not for other arch)
> >
> > Maybe we need to be more formal with that?
> >
> > I would be happy to provide a test script if needed.
> >
> > Cheers
> > Julien