From d00d7e66212c85f9810d904f8085476722a25207 Mon Sep 17 00:00:00 2001 From: Diego Sueiro Date: Wed, 21 Apr 2021 16:25:15 +0100 Subject: oeqa/selftest/bblayers: Add test case for bitbake-layers layerindex-show-depends (From OE-Core rev: 80090c31164d62a169431ab71c4aaee5475b6f40) Signed-off-by: Diego Sueiro Signed-off-by: Richard Purdie --- meta/lib/oeqa/selftest/cases/bblayers.py | 5 +++++ 1 file changed, 5 insertions(+) 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) -- cgit v1.2.3-54-g00ecf