summaryrefslogtreecommitdiffstats
path: root/meta
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-21 10:21:00 +0000
commit57ba094ad757425b32d602a79311455d2dafe08b (patch)
treefc6c41431de4bcb269356f89a48987e0f0f503d6 /meta
parent4ac5511f940232a198ebc3e1c012c252d9ddc6fd (diff)
downloadpoky-57ba094ad757425b32d602a79311455d2dafe08b.tar.gz
oeqa/selftest/archiver: Add test for srpm archiver mode dependencies
(From OE-Core rev: dc7a6b9a73362de5e87439a852234fb1c59ca004) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-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):
116 116
117 excluded_present = len(glob.glob(src_path_target + '/%s-*' % target_recipes[1])) 117 excluded_present = len(glob.glob(src_path_target + '/%s-*' % target_recipes[1]))
118 self.assertFalse(excluded_present, 'Recipe %s was not excluded.' % target_recipes[1]) 118 self.assertFalse(excluded_present, 'Recipe %s was not excluded.' % target_recipes[1])
119
120
121
122 def test_archiver_srpm_mode(self):
123 """
124 Test that in srpm mode, the added recipe dependencies at least exist/work [YOCTO #11121]
125 """
126
127 features = 'INHERIT += "archiver"\n'
128 features += 'ARCHIVER_MODE[srpm] = "1"\n'
129 self.write_config(features)
130
131 bitbake('-n core-image-sato')