diff options
author | Diego Sueiro <diego.sueiro@arm.com> | 2021-04-21 16:25:15 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-04-23 10:12:10 +0100 |
commit | d00d7e66212c85f9810d904f8085476722a25207 (patch) | |
tree | a22bc10e817eb2b92e47cccc3178b8b84012c887 /meta/lib/oeqa/selftest | |
parent | dd35211b690fc98c3a2abb6bba965e6e9b8b7df3 (diff) | |
download | poky-d00d7e66212c85f9810d904f8085476722a25207.tar.gz |
oeqa/selftest/bblayers: Add test case for bitbake-layers layerindex-show-depends
(From OE-Core rev: 80090c31164d62a169431ab71c4aaee5475b6f40)
Signed-off-by: Diego Sueiro <diego.sueiro@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oeqa/selftest')
-rw-r--r-- | meta/lib/oeqa/selftest/cases/bblayers.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/meta/lib/oeqa/selftest/cases/bblayers.py b/meta/lib/oeqa/selftest/cases/bblayers.py index f131d9856c..7d74833f61 100644 --- a/meta/lib/oeqa/selftest/cases/bblayers.py +++ b/meta/lib/oeqa/selftest/cases/bblayers.py | |||
@@ -12,6 +12,11 @@ from oeqa.selftest.case import OESelftestTestCase | |||
12 | 12 | ||
13 | class BitbakeLayers(OESelftestTestCase): | 13 | class BitbakeLayers(OESelftestTestCase): |
14 | 14 | ||
15 | def test_bitbakelayers_layerindexshowdepends(self): | ||
16 | result = runCmd('bitbake-layers layerindex-show-depends meta-poky') | ||
17 | find_in_contents = re.search("openembedded-core", result.output) | ||
18 | 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) | ||
19 | |||
15 | def test_bitbakelayers_showcrossdepends(self): | 20 | def test_bitbakelayers_showcrossdepends(self): |
16 | result = runCmd('bitbake-layers show-cross-depends') | 21 | result = runCmd('bitbake-layers show-cross-depends') |
17 | self.assertIn('aspell', result.output) | 22 | self.assertIn('aspell', result.output) |