diff options
author | Diego Sueiro <diego.sueiro@arm.com> | 2021-04-21 16:25:15 +0100 |
---|---|---|
committer | Steve Sakoman <steve@sakoman.com> | 2021-04-27 04:35:09 -1000 |
commit | 1a1bce6d9a84d268fd2c0e87a33dc4591d792dd0 (patch) | |
tree | b88280601407b3f4de0ded0fea12d584863bdfff | |
parent | 45148918628ba797755f3cbb52f065ec6dbbcfd2 (diff) | |
download | openembedded-core-contrib-1a1bce6d9a84d268fd2c0e87a33dc4591d792dd0.tar.gz |
oeqa/selftest/bblayers: Add test case for bitbake-layers layerindex-show-depends
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>
-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 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) |