[OE-core] [PATCH 4/9] selftest: skip some devtool tests when distro is poky-tiny due to missing libx11
leonardo.sandoval.gonzalez at linux.intel.com
leonardo.sandoval.gonzalez at linux.intel.com
Fri Oct 14 16:40:29 UTC 2016
From: Leonardo Sandoval <leonardo.sandoval.gonzalez at linux.intel.com>
When distro is poky-tiny, there is no recipe providing libx11, thus skip relevant
tests.
[YOCTO #8525]
Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez at linux.intel.com>
---
meta/lib/oeqa/selftest/devtool.py | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/meta/lib/oeqa/selftest/devtool.py b/meta/lib/oeqa/selftest/devtool.py
index e992dcf..aac5087 100644
--- a/meta/lib/oeqa/selftest/devtool.py
+++ b/meta/lib/oeqa/selftest/devtool.py
@@ -337,7 +337,8 @@ class DevtoolTests(DevtoolBase):
@testcase(1161)
def test_devtool_add_fetch_git(self):
- # Fetch source
+ if self.distro == 'poky-tiny':
+ self.skipTest('libmatchbox2 is not buildable with poky-tiny because it requires a libx11 provider')
tempdir = tempfile.mkdtemp(prefix='devtoolqa')
self.track_for_cleanup(tempdir)
url = 'git://git.yoctoproject.org/libmatchbox'
@@ -577,6 +578,8 @@ class DevtoolTests(DevtoolBase):
@testcase(1378)
def test_devtool_modify_virtual(self):
+ if self.distro == 'poky-tiny':
+ self.skipTest('Test not possible with poky-tiny because it requires a libx11 provider')
# Try modifying a virtual recipe
virtrecipe = 'virtual/libx11'
realrecipe = 'libx11'
@@ -941,6 +944,8 @@ class DevtoolTests(DevtoolBase):
@testcase(1379)
def test_devtool_extract_virtual(self):
+ if self.distro == 'poky-tiny':
+ self.skipTest('Test not possible with poky-tiny because it requires a libx11 provider')
tempdir = tempfile.mkdtemp(prefix='devtoolqa')
# Try devtool extract
self.track_for_cleanup(tempdir)
--
2.1.4
More information about the Openembedded-core
mailing list