selftest/devtool: skip test in case of poky-tiny distro
The recipe being tested (devtoo-test-patch-gz) by devtool has dependencies (at least libxres and virtual/libx11) that cannot be built with poky-tiny distro so skip the test for this particular policy. [YOCTO #10891] (From OE-Core rev: 03751783cb063bc6a57cd19357bc1016bfa2a814) 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>
This commit is contained in:
parent
79fcbb5157
commit
e3c3d09562
|
@ -1035,6 +1035,8 @@ class DevtoolTests(DevtoolBase):
|
||||||
def test_devtool_update_recipe_local_patch_gz(self):
|
def test_devtool_update_recipe_local_patch_gz(self):
|
||||||
# First, modify the recipe
|
# First, modify the recipe
|
||||||
testrecipe = 'devtool-test-patch-gz'
|
testrecipe = 'devtool-test-patch-gz'
|
||||||
|
if get_bb_var('DISTRO') == 'poky-tiny':
|
||||||
|
self.skipTest("The DISTRO 'poky-tiny' does not provide the dependencies needed by %s" % testrecipe)
|
||||||
bb_vars = get_bb_vars(['FILE', 'SRC_URI'], testrecipe)
|
bb_vars = get_bb_vars(['FILE', 'SRC_URI'], testrecipe)
|
||||||
recipefile = bb_vars['FILE']
|
recipefile = bb_vars['FILE']
|
||||||
src_uri = bb_vars['SRC_URI']
|
src_uri = bb_vars['SRC_URI']
|
||||||
|
|
Loading…
Reference in New Issue