On Fri, 2024-01-26 at 16:18 +0200, Mikko Rapeli wrote:
> Hi,
> 
> On Fri, Jan 26, 2024 at 02:04:18PM +0000, Joakim Tjernlund via 
> lists.openembedded.org wrote:
> > On Fri, 2024-01-26 at 14:33 +0100, Alexander Kanavin via 
> > lists.openembedded.org wrote:
> > > On Fri, 26 Jan 2024 at 14:21, Joakim Tjernlund
> > > <joakim.tjernl...@infinera.com> wrote:
> > > > I will try workaround these somehow but will not go so far as creating 
> > > > a new MACHINE just to
> > > > run these tests.
> > > 
> > > Why would you need a new machine? You only need a new configuration
> > > template in addition to existing one (e.g.
> > > conf/templates/repro-test/local.conf.sample and bblayer.conf.sample).
> > > Then initialize the build with TEMPLATECONF pointing to that.
> > 
> > Ah, there is an idea. But this will still change the original machine so 
> > one cannot switch
> > between normal builds and repro builds in he same tree.
> 
> FWIW, I ran into the same issues. Many selftests also have dependencies which 
> only work
> on pure poky distro, machine and build configs. The dependencies to various 
> features
> which break tests are not clearly marked inside the tests.
> 
> At least with repro test it is now possible to define different image and 
> recipe
> build targets instead of world builds now but sadly these tests can not be 
> run on
> real product machine configurations and need a vanilla poky machine and/or 
> distro
> configs. I guess patches welcome but not sure into which direction...

Testing this ATM:
INHERIT += "${@bb.utils.contains('BBLAYERS', 'meta-selftest', 'buildhistory', 
'', d)}"
SANITY_TESTED_DISTROS = "${@bb.utils.contains('BBLAYERS', 'meta-selftest', 
'gentoo-* \n', '', d)}"

Initial tests seems OK. Need to make SANITY_TESTED_DISTROS more generic though.

 Jocke
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#194399): 
https://lists.openembedded.org/g/openembedded-core/message/194399
Mute This Topic: https://lists.openembedded.org/mt/103973969/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