diff options
Diffstat (limited to 'meta/lib/oeqa/selftest/cases/bblayers.py')
-rw-r--r-- | meta/lib/oeqa/selftest/cases/bblayers.py | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/meta/lib/oeqa/selftest/cases/bblayers.py b/meta/lib/oeqa/selftest/cases/bblayers.py index 447c54b7e6..6ec5fb819e 100644 --- a/meta/lib/oeqa/selftest/cases/bblayers.py +++ b/meta/lib/oeqa/selftest/cases/bblayers.py | |||
@@ -5,33 +5,27 @@ import oeqa.utils.ftools as ftools | |||
5 | from oeqa.utils.commands import runCmd, get_bb_var, get_bb_vars | 5 | from oeqa.utils.commands import runCmd, get_bb_var, get_bb_vars |
6 | 6 | ||
7 | from oeqa.selftest.case import OESelftestTestCase | 7 | from oeqa.selftest.case import OESelftestTestCase |
8 | from oeqa.core.decorator.oeid import OETestID | ||
9 | 8 | ||
10 | class BitbakeLayers(OESelftestTestCase): | 9 | class BitbakeLayers(OESelftestTestCase): |
11 | 10 | ||
12 | @OETestID(756) | ||
13 | def test_bitbakelayers_showcrossdepends(self): | 11 | def test_bitbakelayers_showcrossdepends(self): |
14 | result = runCmd('bitbake-layers show-cross-depends') | 12 | result = runCmd('bitbake-layers show-cross-depends') |
15 | self.assertTrue('aspell' in result.output, msg = "No dependencies were shown. bitbake-layers show-cross-depends output: %s" % result.output) | 13 | self.assertTrue('aspell' in result.output, msg = "No dependencies were shown. bitbake-layers show-cross-depends output: %s" % result.output) |
16 | 14 | ||
17 | @OETestID(83) | ||
18 | def test_bitbakelayers_showlayers(self): | 15 | def test_bitbakelayers_showlayers(self): |
19 | result = runCmd('bitbake-layers show-layers') | 16 | result = runCmd('bitbake-layers show-layers') |
20 | self.assertTrue('meta-selftest' in result.output, msg = "No layers were shown. bitbake-layers show-layers output: %s" % result.output) | 17 | self.assertTrue('meta-selftest' in result.output, msg = "No layers were shown. bitbake-layers show-layers output: %s" % result.output) |
21 | 18 | ||
22 | @OETestID(93) | ||
23 | def test_bitbakelayers_showappends(self): | 19 | def test_bitbakelayers_showappends(self): |
24 | recipe = "xcursor-transparent-theme" | 20 | recipe = "xcursor-transparent-theme" |
25 | bb_file = self.get_recipe_basename(recipe) | 21 | bb_file = self.get_recipe_basename(recipe) |
26 | result = runCmd('bitbake-layers show-appends') | 22 | result = runCmd('bitbake-layers show-appends') |
27 | self.assertTrue(bb_file in result.output, msg="%s file was not recognised. bitbake-layers show-appends output: %s" % (bb_file, result.output)) | 23 | self.assertTrue(bb_file in result.output, msg="%s file was not recognised. bitbake-layers show-appends output: %s" % (bb_file, result.output)) |
28 | 24 | ||
29 | @OETestID(90) | ||
30 | def test_bitbakelayers_showoverlayed(self): | 25 | def test_bitbakelayers_showoverlayed(self): |
31 | result = runCmd('bitbake-layers show-overlayed') | 26 | result = runCmd('bitbake-layers show-overlayed') |
32 | self.assertTrue('aspell' in result.output, msg="aspell overlayed recipe was not recognised bitbake-layers show-overlayed %s" % result.output) | 27 | self.assertTrue('aspell' in result.output, msg="aspell overlayed recipe was not recognised bitbake-layers show-overlayed %s" % result.output) |
33 | 28 | ||
34 | @OETestID(95) | ||
35 | def test_bitbakelayers_flatten(self): | 29 | def test_bitbakelayers_flatten(self): |
36 | recipe = "xcursor-transparent-theme" | 30 | recipe = "xcursor-transparent-theme" |
37 | recipe_path = "recipes-graphics/xcursor-transparent-theme" | 31 | recipe_path = "recipes-graphics/xcursor-transparent-theme" |
@@ -46,7 +40,6 @@ class BitbakeLayers(OESelftestTestCase): | |||
46 | find_in_contents = re.search("##### bbappended from meta-selftest #####\n(.*\n)*include test_recipe.inc", contents) | 40 | find_in_contents = re.search("##### bbappended from meta-selftest #####\n(.*\n)*include test_recipe.inc", contents) |
47 | self.assertTrue(find_in_contents, msg = "Flattening layers did not work. bitbake-layers flatten output: %s" % result.output) | 41 | self.assertTrue(find_in_contents, msg = "Flattening layers did not work. bitbake-layers flatten output: %s" % result.output) |
48 | 42 | ||
49 | @OETestID(1195) | ||
50 | def test_bitbakelayers_add_remove(self): | 43 | def test_bitbakelayers_add_remove(self): |
51 | test_layer = os.path.join(get_bb_var('COREBASE'), 'meta-skeleton') | 44 | test_layer = os.path.join(get_bb_var('COREBASE'), 'meta-skeleton') |
52 | result = runCmd('bitbake-layers show-layers') | 45 | result = runCmd('bitbake-layers show-layers') |
@@ -64,7 +57,6 @@ class BitbakeLayers(OESelftestTestCase): | |||
64 | result = runCmd('bitbake-layers show-layers') | 57 | result = runCmd('bitbake-layers show-layers') |
65 | self.assertNotIn('meta-skeleton', result.output, msg = "meta-skeleton should have been removed at this step. bitbake-layers show-layers output: %s" % result.output) | 58 | self.assertNotIn('meta-skeleton', result.output, msg = "meta-skeleton should have been removed at this step. bitbake-layers show-layers output: %s" % result.output) |
66 | 59 | ||
67 | @OETestID(1384) | ||
68 | def test_bitbakelayers_showrecipes(self): | 60 | def test_bitbakelayers_showrecipes(self): |
69 | result = runCmd('bitbake-layers show-recipes') | 61 | result = runCmd('bitbake-layers show-recipes') |
70 | self.assertIn('aspell:', result.output) | 62 | self.assertIn('aspell:', result.output) |