Re: [poky] [PATCH 3/4] genericarm64.conf: add "testimage" and "testexport" to default IMAGE_CLASSES

Mikko Rapeli <[email protected]>
Newsgroups org.yoctoproject.lists.poky
Message-ID <ZyDRtrpfrEASaBk2@nuoska>
Hi,

On Tue, Oct 29, 2024 at 12:10:29PM +0000, Ross Burton wrote:
> On 29 Oct 2024, at 12:05, Mikko Rapeli via lists.yoctoproject.org <[email protected]> wrote:
> > On Tue, Oct 29, 2024 at 11:57:28AM +0000, Ross Burton wrote:
> >> On 29 Oct 2024, at 08:05, Mikko Rapeli via lists.yoctoproject.org <[email protected]> wrote:
> >>> +# Run oeqa runtime tests outside of the build environment
> >>> +IMAGE_CLASSES += "testimage testexport"
> >> 
> >> Sorry, but this isn’t appropriate for the machine configuration.  The build configuration or distro can add these classes as needed.
> > 
> > Ok but where do we do this for genericarm64 images? Somewhere in yocto-autobuilder2
> > or yocto-autobuilder-helper repos? I presume poky distro will not set these.
> 
> Is your intention to run testing over images generated by the autobuilder itself?  Arguably, we should add these to poky.conf as poky is explicitly for testing purposes.

If these are enabled, then we could take the images and exported tests and run
them directly in Lava lab devices. Another alternative is a different build with them
enabled but then maybe limiting the amount of images would make sense.

If you are ok with this, then I can propose this to poky defaults.

Cheers,

-Mikko
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.