diff options
| author | Alexander Kanavin <alex.kanavin@gmail.com> | 2025-06-24 17:00:21 +0200 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-06-26 11:03:12 +0100 |
| commit | 6ae605e3434563209519963522e4f6c7063da205 (patch) | |
| tree | 102ede5f1dc9ede9ad709747828e73365285edd2 /meta/lib | |
| parent | 3546e9d522449ed960cbe35a68d60a7b0d077b89 (diff) | |
| download | poky-6ae605e3434563209519963522e4f6c7063da205.tar.gz | |
selftest: move pokybleeding selftest from meta to meta-poky
meta/ is 'owned' by oe-core and meta-yocto repo should not be
putting files in it.
(From meta-yocto rev: 83be7b1c70a7f90f611ad33284d0b8f963552eae)
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib')
| -rw-r--r-- | meta/lib/oeqa/selftest/cases/pokybleeding.py | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/meta/lib/oeqa/selftest/cases/pokybleeding.py b/meta/lib/oeqa/selftest/cases/pokybleeding.py deleted file mode 100644 index d0940d680d..0000000000 --- a/meta/lib/oeqa/selftest/cases/pokybleeding.py +++ /dev/null | |||
| @@ -1,32 +0,0 @@ | |||
| 1 | # | ||
| 2 | # Copyright OpenEmbedded Contributors | ||
| 3 | # | ||
| 4 | # SPDX-License-Identifier: MIT | ||
| 5 | # | ||
| 6 | |||
| 7 | from oeqa.utils.commands import bitbake, get_bb_var | ||
| 8 | from oeqa.selftest.case import OESelftestTestCase | ||
| 9 | |||
| 10 | class PokyBleeding(OESelftestTestCase): | ||
| 11 | |||
| 12 | def test_poky_bleeding_autorev(self): | ||
| 13 | """ | ||
| 14 | Test that poky-bleeding.bbclass sets SRCREV to "AUTOINC" for recipe | ||
| 15 | with a single scm in SRC_URI and for recipe with two scm's in SRC_URI. | ||
| 16 | """ | ||
| 17 | |||
| 18 | self.assertNotEqual( get_bb_var('SRCREV', 'pseudo'), "AUTOINC") | ||
| 19 | |||
| 20 | self.assertNotEqual( get_bb_var('SRCREV', 'hello-rs'), "AUTOINC") | ||
| 21 | self.assertNotEqual( get_bb_var('SRCREV_hello-lib', 'hello-rs'), "AUTOINC") | ||
| 22 | |||
| 23 | features = ''' | ||
| 24 | INHERIT += "poky-bleeding" | ||
| 25 | POKY_AUTOREV_RECIPES = "hello-rs pseudo" | ||
| 26 | ''' | ||
| 27 | self.write_config(features) | ||
| 28 | |||
| 29 | self.assertEqual( get_bb_var('SRCREV', 'pseudo'), "AUTOINC") | ||
| 30 | |||
| 31 | self.assertEqual( get_bb_var('SRCREV', 'hello-rs'), "AUTOINC") | ||
| 32 | self.assertEqual( get_bb_var('SRCREV_hello-lib', 'hello-rs'), "AUTOINC") | ||
