<div dir="ltr">On 30 March 2017 at 00:12, Francisco Pedraza <span dir="ltr">&lt;<a href="mailto:francisco.j.pedraza.gonzalez@intel.com" target="_blank">francisco.j.pedraza.gonzalez@intel.com</a>&gt;</span> wrote:<br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">@@ -9,7 +9,9 @@ class GalculatorTest(OESDKTestCase):<br>
     @classmethod<br>
     def setUpClass(self):<br>
         if not (self.tc.hasTargetPackage(&quot;<wbr>gtk+3&quot;) or\<br>
-                self.tc.hasTargetPackage(&quot;<wbr>libgtk-3.0&quot;)):<br>
+                self.tc.hasTargetPackage(&quot;<wbr>libgtk-3.0&quot;) or<br>
+                self.tc.hasTargetPackage(&quot;gtk&quot;<wbr>) or<br>
+                self.tc.hasTargetPackage(&quot;<wbr>matchbox-config-gtk&quot;)):<br>
             raise unittest.SkipTest(&quot;<wbr>GalculatorTest class: SDK don&#39;t support gtk+3&quot;)<br></blockquote><div><br></div><div>Why is this checking for what appears to be gtk+v2 (&quot;gtk&quot;) or matchbox-config-gtk (an application that shouldn&#39;t be in a SDK)?</div><div> <br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">@@ -17,7 +17,9 @@ class BuildIptablesTest(<wbr>OESDKTestCase):<br>
<br>
         machine = self.td.get(&quot;MACHINE&quot;)<br>
<br>
-        if not self.tc.hasHostPackage(&quot;<wbr>packagegroup-cross-canadian-%<wbr>s&quot; % machine):<br>
+        if not (self.tc.hasTargetPackage(&quot;<wbr>packagegroup-cross-canadian-%<wbr>s&quot; % machine) or<br>
+                self.tc.hasTargetPackage(&quot;gcc-<wbr>runtime&quot;) or<br>
+                self.tc.hasTargetPackage(&quot;<wbr>libgcc&quot;)):<br>
             raise unittest.SkipTest(&quot;SDK doesn&#39;t contain a cross-canadian toolchain&quot;)<br></blockquote><div><br></div><div>Seems a very long-winded way of checking that a compiler is present...</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">@@ -8,7 +8,10 @@ from oeqa.sdk.case import OESDKTestCase<br>
 class PerlTest(OESDKTestCase):<br>
     @classmethod<br>
     def setUpClass(self):<br>
-        if not self.tc.hasHostPackage(&quot;<wbr>nativesdk-perl&quot;):<br>
+        if not (self.tc.hasHostPackage(&quot;<wbr>nativesdk-perl&quot;) or<br>
+                self.tc.hasHostPackage(&quot;perl-<wbr>native&quot;) or<br>
+                self.tc.hasHostPackage(&quot;<wbr>libperl5&quot;) or<br>
+                self.tc.hasHostPackage(&quot;perl&quot;)<wbr>):<br>
             raise unittest.SkipTest(&quot;No perl package in the SDK&quot;)<br></blockquote><div><br></div><div>As this is a test for the nativesdk part of the SDK, why does it care about target (perl) or native (perl-native) packages?</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
         for f in [&#39;<a href="http://test.pl" rel="noreferrer" target="_blank">test.pl</a>&#39;]:<br>
diff --git a/meta/lib/oeqa/sdk/cases/<wbr>python.py b/meta/lib/oeqa/sdk/cases/<wbr>python.py<br>
index 94a296f..29705bf 100644<br>
--- a/meta/lib/oeqa/sdk/cases/<wbr>python.py<br>
+++ b/meta/lib/oeqa/sdk/cases/<wbr>python.py<br>
@@ -8,7 +8,10 @@ from oeqa.sdk.case import OESDKTestCase<br>
 class PythonTest(OESDKTestCase):<br>
     @classmethod<br>
     def setUpClass(self):<br>
-        if not self.tc.hasHostPackage(&quot;<wbr>nativesdk-python&quot;):<br>
+        if not (self.tc.hasHostPackage(&quot;<wbr>nativesdk-python&quot;) or<br>
+                self.tc.hasHostPackage(&quot;<wbr>python-smartpm-native&quot;) or<br>
+                self.tc.hasHostPackage(&quot;<wbr>nativesdk-python3&quot;)):</blockquote><div><br></div><div><br></div><div>Aside from the fact that oe-core master has recently moved from smart to DNF, and Python2 to Python3, why does a test that just runs a basic Python command care about smartpm?</div><div><br></div><div>Also the test also now checks for nativesdk-python3 but executes python, which is python v2.</div><div><br></div><div>Ross</div></div></div></div>