diff options
Diffstat (limited to 'meta/lib/oeqa/selftest')
-rw-r--r-- | meta/lib/oeqa/selftest/cases/archiver.py | 13 |
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') | ||