summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>2016-11-18 12:38:03 -0600
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-12-16 10:23:22 +0000
commite2ea2597c9b3b10f122fcd8d241cb52d668a32e1 (patch)
tree6cddd17a20ad80e43ff574d77f0bc0b6ea409f2b
parent279c8ce310dc9d471ec17d74d286b9213d61464b (diff)
downloadpoky-e2ea2597c9b3b10f122fcd8d241cb52d668a32e1.tar.gz
selftest: bblayers: remove linux kernel checks for show-recipes check
Preferred kernel recipes depends on the distro, so remove the kernel checks to avoid failures on non-poky distros and make the test distro agnostic. (From OE-Core rev: ae92b72990b3ac804791b501d08126491fdddb7c) Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/lib/oeqa/selftest/bblayers.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/meta/lib/oeqa/selftest/bblayers.py b/meta/lib/oeqa/selftest/bblayers.py
index d23675e84a..677161f411 100644
--- a/meta/lib/oeqa/selftest/bblayers.py
+++ b/meta/lib/oeqa/selftest/bblayers.py
@@ -68,20 +68,16 @@ class BitbakeLayers(oeSelfTest):
68 68
69 @testcase(1384) 69 @testcase(1384)
70 def test_bitbakelayers_showrecipes(self): 70 def test_bitbakelayers_showrecipes(self):
71 distro = get_bb_var('DISTRO')
71 result = runCmd('bitbake-layers show-recipes') 72 result = runCmd('bitbake-layers show-recipes')
72 self.assertIn('aspell:', result.output) 73 self.assertIn('aspell:', result.output)
73 self.assertIn('mtd-utils:', result.output) 74 self.assertIn('mtd-utils:', result.output)
74 self.assertIn('linux-yocto:', result.output)
75 self.assertIn('core-image-minimal:', result.output) 75 self.assertIn('core-image-minimal:', result.output)
76 result = runCmd('bitbake-layers show-recipes mtd-utils') 76 result = runCmd('bitbake-layers show-recipes mtd-utils')
77 self.assertIn('mtd-utils:', result.output) 77 self.assertIn('mtd-utils:', result.output)
78 self.assertNotIn('aspell:', result.output) 78 self.assertNotIn('aspell:', result.output)
79 result = runCmd('bitbake-layers show-recipes -i kernel')
80 self.assertIn('linux-yocto:', result.output)
81 self.assertNotIn('mtd-utils:', result.output)
82 result = runCmd('bitbake-layers show-recipes -i image') 79 result = runCmd('bitbake-layers show-recipes -i image')
83 self.assertIn('core-image-minimal', result.output) 80 self.assertIn('core-image-minimal', result.output)
84 self.assertNotIn('linux-yocto:', result.output)
85 self.assertNotIn('mtd-utils:', result.output) 81 self.assertNotIn('mtd-utils:', result.output)
86 result = runCmd('bitbake-layers show-recipes -i cmake,pkgconfig') 82 result = runCmd('bitbake-layers show-recipes -i cmake,pkgconfig')
87 self.assertIn('libproxy:', result.output) 83 self.assertIn('libproxy:', result.output)