[oe-commits] Paul Eggleton : lib/oeqa/selftest/bblayers: use dashed subcommands
git at git.openembedded.org
git at git.openembedded.org
Sat Feb 21 22:06:24 UTC 2015
Module: openembedded-core.git
Branch: master-next
Commit: ab2efd82b2c3419e0139b91c79a9993b257970c9
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=ab2efd82b2c3419e0139b91c79a9993b257970c9
Author: Paul Eggleton <paul.eggleton at linux.intel.com>
Date: Fri Feb 20 17:44:07 2015 +0000
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.
Signed-off-by: Paul Eggleton <paul.eggleton at linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
meta/lib/oeqa/selftest/bblayers.py | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/meta/lib/oeqa/selftest/bblayers.py b/meta/lib/oeqa/selftest/bblayers.py
index 1ead8e8..449c17e 100644
--- a/meta/lib/oeqa/selftest/bblayers.py
+++ b/meta/lib/oeqa/selftest/bblayers.py
@@ -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)
More information about the Openembedded-commits
mailing list