summaryrefslogtreecommitdiffstats
path: root/meta/lib/oeqa/selftest/cases
diff options
context:
space:
mode:
authorDiego Sueiro <diego.sueiro@arm.com>2021-04-21 16:25:15 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-05-04 22:57:55 +0100
commit9e68bd2c94cfcde9c2a9348459f3355b5b71861d (patch)
treee9a0aa98d85c24b03f29ebacfa2bbadf0dbf909f /meta/lib/oeqa/selftest/cases
parent1ee02f662cfd4891dccf50b3a429a75940c97140 (diff)
downloadpoky-9e68bd2c94cfcde9c2a9348459f3355b5b71861d.tar.gz
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>
Diffstat (limited to 'meta/lib/oeqa/selftest/cases')
-rw-r--r--meta/lib/oeqa/selftest/cases/bblayers.py5
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
13class BitbakeLayers(OESelftestTestCase): 13class 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)