Re: [poky] [PATCH] meta-yocto: remove erroneous poky-bleeding selftest in meta/
Richard Purdie <[email protected]> Tue, 24 Jun 2025 14:55:51 +0100
| Newsgroups | org.yoctoproject.lists.poky |
|---|---|
| Message-ID | <abe975974fbba263d27ba2a0629a1bcbcc93a090.camel@linuxfoundation.org> |
On Tue, 2025-06-24 at 15:50 +0200, Alexander Kanavin via lists.yoctoproject.org wrote: > This was added to meta-yocto repository by mistake, > and should be in oe-core (which is done in a separate patch). > > Signed-off-by: Alexander Kanavin <[email protected]> > --- > meta/lib/oeqa/selftest/cases/pokybleeding.py | 32 -------------------- > 1 file changed, 32 deletions(-) > delete mode 100644 meta/lib/oeqa/selftest/cases/pokybleeding.py > > diff --git a/meta/lib/oeqa/selftest/cases/pokybleeding.py b/meta/lib/oeqa/selftest/cases/pokybleeding.py > deleted file mode 100644 > index d0940d6..0000000 > --- a/meta/lib/oeqa/selftest/cases/pokybleeding.py > +++ /dev/null > @@ -1,32 +0,0 @@ > -# > -# Copyright OpenEmbedded Contributors > -# > -# SPDX-License-Identifier: MIT > -# > - > -from oeqa.utils.commands import bitbake, get_bb_var > -from oeqa.selftest.case import OESelftestTestCase > - > -class PokyBleeding(OESelftestTestCase): > - > - def test_poky_bleeding_autorev(self): > - """ > - Test that poky-bleeding.bbclass sets SRCREV to "AUTOINC" for recipe > - with a single scm in SRC_URI and for recipe with two scm's in SRC_URI. > - """ > - > - self.assertNotEqual( get_bb_var('SRCREV', 'pseudo'), "AUTOINC") > - > - self.assertNotEqual( get_bb_var('SRCREV', 'hello-rs'), "AUTOINC") > - self.assertNotEqual( get_bb_var('SRCREV_hello-lib', 'hello-rs'), "AUTOINC") > - > - features = ''' > -INHERIT += "poky-bleeding" > -POKY_AUTOREV_RECIPES = "hello-rs pseudo" > -''' > - self.write_config(features) > - > - self.assertEqual( get_bb_var('SRCREV', 'pseudo'), "AUTOINC") > - > - self.assertEqual( get_bb_var('SRCREV', 'hello-rs'), "AUTOINC") > - self.assertEqual( get_bb_var('SRCREV_hello-lib', 'hello-rs'), "AUTOINC") > Since this can't work without poky, I'd argue it is in the right place? Cheers, Richard