summaryrefslogtreecommitdiffstats
path: root/meta/lib
diff options
context:
space:
mode:
authorLeonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>2017-04-06 09:41:51 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-04-10 23:00:43 +0100
commit4d1b21fd6dc2aee75712117df41ab41041d1f735 (patch)
treecc69ef805c5f2592f87cf725d3120d9524994162 /meta/lib
parent88cd926de2894da7f13e5039c1d9cff4a4181280 (diff)
downloadpoky-4d1b21fd6dc2aee75712117df41ab41041d1f735.tar.gz
selftest/recipetool: skip create_git in case x11 feature is not present
The unit test requires x11 as distro feature, otherwise it will fail while building the test requirements. [YOCTO #10903] (From OE-Core rev: 2fe8f39b5f5e7390cc46f8cb47c2503b3c5f78e2) Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib')
-rw-r--r--meta/lib/oeqa/selftest/recipetool.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/lib/oeqa/selftest/recipetool.py b/meta/lib/oeqa/selftest/recipetool.py
index d47b9dd01f..7bfb02f161 100644
--- a/meta/lib/oeqa/selftest/recipetool.py
+++ b/meta/lib/oeqa/selftest/recipetool.py
@@ -382,6 +382,8 @@ class RecipetoolTests(RecipetoolBase):
382 382
383 @testcase(1194) 383 @testcase(1194)
384 def test_recipetool_create_git(self): 384 def test_recipetool_create_git(self):
385 if 'x11' not in get_bb_var('DISTRO_FEATURES'):
386 self.skipTest('Test requires x11 as distro feature')
385 # Ensure we have the right data in shlibs/pkgdata 387 # Ensure we have the right data in shlibs/pkgdata
386 bitbake('libpng pango libx11 libxext jpeg libcheck') 388 bitbake('libpng pango libx11 libxext jpeg libcheck')
387 # Try adding a recipe 389 # Try adding a recipe