mirror of
https://git.yoctoproject.org/poky
synced 2026-04-18 21:32:12 +02:00
oeqa/selftest/bblayers: Add test case for bitbake-layers layerindex-show-depends
(From OE-Core rev: 1a1bce6d9a84d268fd2c0e87a33dc4591d792dd0) Signed-off-by: Diego Sueiro <diego.sueiro@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 80090c31164d62a169431ab71c4aaee5475b6f40) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
1ee02f662c
commit
9e68bd2c94
@@ -12,6 +12,11 @@ from oeqa.selftest.case import OESelftestTestCase
|
||||
|
||||
class BitbakeLayers(OESelftestTestCase):
|
||||
|
||||
def test_bitbakelayers_layerindexshowdepends(self):
|
||||
result = runCmd('bitbake-layers layerindex-show-depends meta-poky')
|
||||
find_in_contents = re.search("openembedded-core", result.output)
|
||||
self.assertTrue(find_in_contents, msg = "openembedded-core should have been listed at this step. bitbake-layers layerindex-show-depends meta-poky output: %s" % result.output)
|
||||
|
||||
def test_bitbakelayers_showcrossdepends(self):
|
||||
result = runCmd('bitbake-layers show-cross-depends')
|
||||
self.assertIn('aspell', result.output)
|
||||
|
||||
Reference in New Issue
Block a user