[OE-core] [PATCH 3/3] lib/oeqa/selftest/bblayers: use dashed subcommands

Paul Eggleton paul.eggleton at linux.intel.com
Fri Feb 20 17:44:07 UTC 2015


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>
---
 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)
-- 
1.9.3




More information about the Openembedded-core mailing list