diff options
author | Daniel Istrate <daniel.alexandrux.istrate@intel.com> | 2015-12-11 11:58:15 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-12-16 12:12:15 +0000 |
commit | f80f8baa6f5547e86fb758ba35baf7bd1e81cc15 (patch) | |
tree | 8f1398eaee17b0f57a5c15bd00d77aefbd8a29ce /meta/lib | |
parent | a5dd1dd8904c62ef0ca5c208f997453e77860add (diff) | |
download | poky-f80f8baa6f5547e86fb758ba35baf7bd1e81cc15.tar.gz |
oeqa/selftest: Added testcase decorators for 2 testcases
bblayers: test_bitbakelayers_showrecipes 1384
wic: test_directdisk_bootloader_config 1385
(From OE-Core rev: eeb3382f38f0cb9188cccb4d32deb38be0b50f67)
Signed-off-by: Daniel Istrate <daniel.alexandrux.istrate@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib')
-rw-r--r-- | meta/lib/oeqa/selftest/bblayers.py | 1 | ||||
-rw-r--r-- | meta/lib/oeqa/selftest/wic.py | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/meta/lib/oeqa/selftest/bblayers.py b/meta/lib/oeqa/selftest/bblayers.py index 5452925104..b88c25ecfb 100644 --- a/meta/lib/oeqa/selftest/bblayers.py +++ b/meta/lib/oeqa/selftest/bblayers.py | |||
@@ -61,6 +61,7 @@ class BitbakeLayers(oeSelfTest): | |||
61 | result = runCmd('bitbake-layers show-layers') | 61 | result = runCmd('bitbake-layers show-layers') |
62 | self.assertNotIn('meta-skeleton', result.output, msg = "meta-skeleton should have been removed at this step. bitbake-layers show-layers output: %s" % result.output) | 62 | self.assertNotIn('meta-skeleton', result.output, msg = "meta-skeleton should have been removed at this step. bitbake-layers show-layers output: %s" % result.output) |
63 | 63 | ||
64 | @testcase(1384) | ||
64 | def test_bitbakelayers_showrecipes(self): | 65 | def test_bitbakelayers_showrecipes(self): |
65 | result = runCmd('bitbake-layers show-recipes') | 66 | result = runCmd('bitbake-layers show-recipes') |
66 | self.assertIn('aspell:', result.output) | 67 | self.assertIn('aspell:', result.output) |
diff --git a/meta/lib/oeqa/selftest/wic.py b/meta/lib/oeqa/selftest/wic.py index f4404bfe55..55f6f82ab9 100644 --- a/meta/lib/oeqa/selftest/wic.py +++ b/meta/lib/oeqa/selftest/wic.py | |||
@@ -257,7 +257,7 @@ class Wic(oeSelfTest): | |||
257 | % image).status) | 257 | % image).status) |
258 | self.assertEqual(1, len(glob(self.resultdir + "%s-*direct" % image))) | 258 | self.assertEqual(1, len(glob(self.resultdir + "%s-*direct" % image))) |
259 | 259 | ||
260 | #@testcase() | 260 | @testcase(1385) |
261 | def test_directdisk_bootloader_config(self): | 261 | def test_directdisk_bootloader_config(self): |
262 | """Test creation of directdisk-bootloader-config image""" | 262 | """Test creation of directdisk-bootloader-config image""" |
263 | image = "directdisk-bootloader-config" | 263 | image = "directdisk-bootloader-config" |