[OE-core] [PATCH 5/9] selftest: skip those imagefeatures tests not relevant for certain distros
Burton, Ross
ross.burton at intel.com
Mon Oct 17 11:44:30 UTC 2016
On 14 October 2016 at 17:40, <leonardo.sandoval.gonzalez at linux.intel.com>
wrote:
> # Build a core-image-clutter
> - bitbake('core-image-clutter')
> + image = 'core-image-clutter'
> + supported_distros = ['poky', 'poky-lsb']
> + if not self.distro in supported_distros:
> + self.skipTest('Test is consider for distros (%s) supporting
> %s' % (','.join(supported_distros), image))
> + bitbake(image)
>
Wouldn't it be better to check DISTRO_FEATURES instead - i.e.
core-image-weston needs opengl and wayland DISTRO_FEATURES to be present.
Ross
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20161017/0be5831d/attachment-0002.html>
More information about the Openembedded-core
mailing list