diff options
author | Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com> | 2017-04-06 09:41:51 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-04-08 22:48:06 +0100 |
commit | 2fe8f39b5f5e7390cc46f8cb47c2503b3c5f78e2 (patch) | |
tree | 7267ce9b4b5f27ca86dab8d8709cec877633ba74 /meta/lib | |
parent | b7bb02901b7002641a8e8cc3fc0b6ec31e5a21f7 (diff) | |
download | openembedded-core-2fe8f39b5f5e7390cc46f8cb47c2503b3c5f78e2.tar.gz openembedded-core-2fe8f39b5f5e7390cc46f8cb47c2503b3c5f78e2.tar.bz2 openembedded-core-2fe8f39b5f5e7390cc46f8cb47c2503b3c5f78e2.zip |
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]
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.py | 2 |
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): @testcase(1194) def test_recipetool_create_git(self): + if 'x11' not in get_bb_var('DISTRO_FEATURES'): + self.skipTest('Test requires x11 as distro feature') # Ensure we have the right data in shlibs/pkgdata bitbake('libpng pango libx11 libxext jpeg libcheck') # Try adding a recipe |