<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On 9 January 2017 at 17:45,  <span dir="ltr">&lt;<a href="mailto:leonardo.sandoval.gonzalez@linux.intel.com" target="_blank">leonardo.sandoval.gonzalez@linux.intel.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div id=":4lo" class="a3s aXjCH m15984507a75cf04f">+++ b/meta/lib/oeqa/selftest/<wbr>imagefeatures.py<br>
@@ -77,6 +77,9 @@ class ImageFeatures(oeSelfTest):<br>
         AutomatedBy: Daniel Istrate &lt;<a href="mailto:daniel.alexandrux.istrate@intel.com">daniel.alexandrux.istrate@<wbr>intel.com</a>&gt;<br>
         &quot;&quot;&quot;<br>
<br>
+        if &#39;opengl&#39; not in get_bb_var(&#39;DISTRO_FEATURES&#39;):<br>
+            self.skipTest(&#39;opengl not present on DISTRO_FEATURES so core-image-clutter cannot be built&#39;)<br>
+<br>
         # Build a core-image-clutter<br>
         bitbake(&#39;core-image-clutter&#39;)<br></div></blockquote><div><br></div><div>This test is pretty pointless, lets just delete it.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div id=":4lo" class="a3s aXjCH m15984507a75cf04f">
@@ -91,6 +94,10 @@ class ImageFeatures(oeSelfTest):<br>
         AutomatedBy: Daniel Istrate &lt;<a href="mailto:daniel.alexandrux.istrate@intel.com">daniel.alexandrux.istrate@<wbr>intel.com</a>&gt;<br>
         &quot;&quot;&quot;<br>
<br>
+        distro_features = get_bb_var(&#39;DISTRO_FEATURES&#39;)<br>
+        if not (&#39;opengl&#39; in distro_features and &#39;wayland&#39; in distro_features):<br>
+            self.skipTest(&#39;neither opengl nor wayland present on DISTRO_FEATURES so core-image-weston cannot be built&#39;)<br>
+<br>
         features = &#39;DISTRO_FEATURES_append = &quot; wayland&quot;\n&#39;<br>
         features += &#39;CORE_IMAGE_EXTRA_INSTALL += &quot;wayland weston&quot;&#39;<br>
         self.write_config(features)</div></blockquote></div><br></div><div class="gmail_extra">This test is 90% nonsense, let&#39;s fix it whilst we&#39;re here.  After checking that opengl and wayland are in DISTRO_FEATURES it can just build core-image-weston: DISTRO_FEATURES doesn&#39;t need appending as it already has wayland in, and CORE_IMAGE_EXTRA_INSTALL doesn&#39;t need extending as core-image-weston obviously already contains weston.</div><div class="gmail_extra"><br></div><div class="gmail_extra">Ross</div></div>