On Mon, 2024-04-29 at 17:21 +0200, Michael Opdenacker wrote:
> On 4/25/24 at 22:40, Richard Purdie wrote:
> > Hi Michael,
> > 
> > At least at a first read and without running it, this does look like a
> > reasonable direction. I suspect that anyone else looking at this would
> > have a lot of questions about why we'd do it this way but given the
> > various constraints, it does make sense to me.
> > 
> > What we do need to think about is how someone else would reuse this as
> > currently it is very poky specific. Our aim is to make it easy for
> > others to use too. With that in mind:
> > 
> > * We probably want to "tag" this test with something so we can exclude
> > it from the normal oe-selftest runs on the autobuilder and allow it to
> > run on a per machine basis. There are other oe-selftests we already do
> > this with (like toolchain testing or machine specific environment file
> > tests).
> > 
> > * The configuration about what to test probably needs to come from the
> > distro (i.e. which DISTRO/MACHINE/image combinations).
> > 
> > * We probably need to parameterise it so that a list of images can be
> > tested rather than just a single one. I did wonder if we could have it
> > dynamically add tests for each image configured.
> > 
> > * We don't want to test on all MACHINE (e.g. qemumips and qemuppc are
> > not going to be included).
> > 
> > * We need to find a better way to share the code with autobuilder-
> > helper, I don't like duplicating code.
> 
> Is there example code somewhere doing something similar, i.e. importing 
> code from an external repository?

What needs to happen is the code needs to be moved into meta/lib/oe, or
probably better, meta-poky/lib/oe in meta-yocto and then autobuilder-
helper needs to understand how to access it from there.

That is probably beyond what we have time for with the current work :(

> > * The image url code is also highly poky specific. That probably needs
> > to come from the poky repository alongside the configuration.
> 
> I'm going to submit a new version that doesn't assume any specific URL 
> scheme.
> More soon.


Some assumptions about the url format will have to be made. I still
maintain this code should be in meta-yocto since it is poky specific
but should call code with only the configuration coming from poky/meta-
yocto.

Cheers,

Richard
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#198748): 
https://lists.openembedded.org/g/openembedded-core/message/198748
Mute This Topic: https://lists.openembedded.org/mt/105732738/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to