mirror of
https://git.yoctoproject.org/poky
synced 2026-03-06 15:29:40 +01:00
oeqa/selftest/archiver: Add test for srpm archiver mode dependencies
(From OE-Core rev: dc7a6b9a73362de5e87439a852234fb1c59ca004) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -116,3 +116,16 @@ class Archiver(OESelftestTestCase):
|
||||
|
||||
excluded_present = len(glob.glob(src_path_target + '/%s-*' % target_recipes[1]))
|
||||
self.assertFalse(excluded_present, 'Recipe %s was not excluded.' % target_recipes[1])
|
||||
|
||||
|
||||
|
||||
def test_archiver_srpm_mode(self):
|
||||
"""
|
||||
Test that in srpm mode, the added recipe dependencies at least exist/work [YOCTO #11121]
|
||||
"""
|
||||
|
||||
features = 'INHERIT += "archiver"\n'
|
||||
features += 'ARCHIVER_MODE[srpm] = "1"\n'
|
||||
self.write_config(features)
|
||||
|
||||
bitbake('-n core-image-sato')
|
||||
|
||||
Reference in New Issue
Block a user