summaryrefslogtreecommitdiffstats
path: root/meta/lib/oeqa
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2015-02-20 17:44:07 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-02-21 22:05:36 +0000
commitf1daefbf52db8e97a56f1df1837a520ca1a86444 (patch)
tree02f76370b8ad590de3dbbb4c17a3b94cc183a9c5 /meta/lib/oeqa
parentd4f11d6d51870b3aafebae8a2d4e8bc34e30c344 (diff)
downloadpoky-f1daefbf52db8e97a56f1df1837a520ca1a86444.tar.gz
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>
Diffstat (limited to 'meta/lib/oeqa')
-rw-r--r--meta/lib/oeqa/selftest/bblayers.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/lib/oeqa/selftest/bblayers.py b/meta/lib/oeqa/selftest/bblayers.py
index 1ead8e8671..449c17ea37 100644
--- a/meta/lib/oeqa/selftest/bblayers.py
+++ b/meta/lib/oeqa/selftest/bblayers.py
@@ -18,17 +18,17 @@ class BitbakeLayers(oeSelfTest):
18 18
19 @testcase(83) 19 @testcase(83)
20 def test_bitbakelayers_showlayers(self): 20 def test_bitbakelayers_showlayers(self):
21 result = runCmd('bitbake-layers show_layers') 21 result = runCmd('bitbake-layers show-layers')
22 self.assertTrue('meta-selftest' in result.output) 22 self.assertTrue('meta-selftest' in result.output)
23 23
24 @testcase(93) 24 @testcase(93)
25 def test_bitbakelayers_showappends(self): 25 def test_bitbakelayers_showappends(self):
26 result = runCmd('bitbake-layers show_appends') 26 result = runCmd('bitbake-layers show-appends')
27 self.assertTrue('xcursor-transparent-theme_0.1.1.bbappend' in result.output, msg='xcursor-transparent-theme_0.1.1.bbappend file was not recognised') 27 self.assertTrue('xcursor-transparent-theme_0.1.1.bbappend' in result.output, msg='xcursor-transparent-theme_0.1.1.bbappend file was not recognised')
28 28
29 @testcase(90) 29 @testcase(90)
30 def test_bitbakelayers_showoverlayed(self): 30 def test_bitbakelayers_showoverlayed(self):
31 result = runCmd('bitbake-layers show_overlayed') 31 result = runCmd('bitbake-layers show-overlayed')
32 self.assertTrue('aspell' in result.output, msg='xcursor-transparent-theme_0.1.1.bbappend file was not recognised') 32 self.assertTrue('aspell' in result.output, msg='xcursor-transparent-theme_0.1.1.bbappend file was not recognised')
33 33
34 @testcase(95) 34 @testcase(95)