summaryrefslogtreecommitdiffstats
path: root/meta/lib
diff options
context:
space:
mode:
authorLeonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>2017-04-03 21:20:08 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-04-05 23:22:13 +0100
commite3c3d0956255c8ead64b180db08cf6a627d882b9 (patch)
tree9a5800b63d039b13442dd71fb693e54346fd8c4a /meta/lib
parent79fcbb51577d901639ddfffb3393b1c4d93434f0 (diff)
downloadpoky-e3c3d0956255c8ead64b180db08cf6a627d882b9.tar.gz
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>
Diffstat (limited to 'meta/lib')
-rw-r--r--meta/lib/oeqa/selftest/devtool.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/lib/oeqa/selftest/devtool.py b/meta/lib/oeqa/selftest/devtool.py
index d32ca28c46..762c7bacec 100644
--- a/meta/lib/oeqa/selftest/devtool.py
+++ b/meta/lib/oeqa/selftest/devtool.py
@@ -1035,6 +1035,8 @@ class DevtoolTests(DevtoolBase):
1035 def test_devtool_update_recipe_local_patch_gz(self): 1035 def test_devtool_update_recipe_local_patch_gz(self):
1036 # First, modify the recipe 1036 # First, modify the recipe
1037 testrecipe = 'devtool-test-patch-gz' 1037 testrecipe = 'devtool-test-patch-gz'
1038 if get_bb_var('DISTRO') == 'poky-tiny':
1039 self.skipTest("The DISTRO 'poky-tiny' does not provide the dependencies needed by %s" % testrecipe)
1038 bb_vars = get_bb_vars(['FILE', 'SRC_URI'], testrecipe) 1040 bb_vars = get_bb_vars(['FILE', 'SRC_URI'], testrecipe)
1039 recipefile = bb_vars['FILE'] 1041 recipefile = bb_vars['FILE']
1040 src_uri = bb_vars['SRC_URI'] 1042 src_uri = bb_vars['SRC_URI']