summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2017-12-19 11:27:25 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-12-20 15:32:11 +0000
commitdc7a6b9a73362de5e87439a852234fb1c59ca004 (patch)
tree73aca4630f2d1fe33cdead0b49a2c620abb97f7f
parent2c2f20a9756eccafac776e45e319af7666e6da96 (diff)
downloadopenembedded-core-contrib-dc7a6b9a73362de5e87439a852234fb1c59ca004.tar.gz
openembedded-core-contrib-dc7a6b9a73362de5e87439a852234fb1c59ca004.tar.bz2
openembedded-core-contrib-dc7a6b9a73362de5e87439a852234fb1c59ca004.zip
oeqa/selftest/archiver: Add test for srpm archiver mode dependencies
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/lib/oeqa/selftest/cases/archiver.py13
1 files changed, 13 insertions, 0 deletions
diff --git a/meta/lib/oeqa/selftest/cases/archiver.py b/meta/lib/oeqa/selftest/cases/archiver.py
index f61a522017..0a6d4e325f 100644
--- a/meta/lib/oeqa/selftest/cases/archiver.py
+++ b/meta/lib/oeqa/selftest/cases/archiver.py
@@ -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')