mirror of
https://git.yoctoproject.org/poky
synced 2026-04-17 09:32:12 +02:00
lib/oeqa/selftest/bblayers: use dashed subcommands
bitbake-layers subcommands with underscores are the old syntax; the dashed form has been supported (and displayed in the help text) for quite a while now, and the old syntax is about to be unsupported, so use the dashed form in the tests. (From OE-Core rev: ab2efd82b2c3419e0139b91c79a9993b257970c9) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
d4f11d6d51
commit
f1daefbf52
@@ -18,17 +18,17 @@ class BitbakeLayers(oeSelfTest):
|
||||
|
||||
@testcase(83)
|
||||
def test_bitbakelayers_showlayers(self):
|
||||
result = runCmd('bitbake-layers show_layers')
|
||||
result = runCmd('bitbake-layers show-layers')
|
||||
self.assertTrue('meta-selftest' in result.output)
|
||||
|
||||
@testcase(93)
|
||||
def test_bitbakelayers_showappends(self):
|
||||
result = runCmd('bitbake-layers show_appends')
|
||||
result = runCmd('bitbake-layers show-appends')
|
||||
self.assertTrue('xcursor-transparent-theme_0.1.1.bbappend' in result.output, msg='xcursor-transparent-theme_0.1.1.bbappend file was not recognised')
|
||||
|
||||
@testcase(90)
|
||||
def test_bitbakelayers_showoverlayed(self):
|
||||
result = runCmd('bitbake-layers show_overlayed')
|
||||
result = runCmd('bitbake-layers show-overlayed')
|
||||
self.assertTrue('aspell' in result.output, msg='xcursor-transparent-theme_0.1.1.bbappend file was not recognised')
|
||||
|
||||
@testcase(95)
|
||||
|
||||
Reference in New Issue
Block a user