<div dir="ltr">On 24 November 2016 at 20:58, <span dir="ltr"><<a href="mailto:leonardo.sandoval.gonzalez@linux.intel.com" target="_blank">leonardo.sandoval.gonzalez@linux.intel.com</a>></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">diff --git a/meta/lib/oeqa/selftest/<wbr>sstatetests.py b/meta/lib/oeqa/selftest/<wbr>sstatetests.py<br>
index 6642539..8ea3932 100644<br>
--- a/meta/lib/oeqa/selftest/<wbr>sstatetests.py<br>
+++ b/meta/lib/oeqa/selftest/<wbr>sstatetests.py<br>
@@ -42,20 +42,36 @@ class SStateTests(SStateBase):<br>
@testcase(975)<br>
def test_sstate_creation_distro_<wbr>specific_pass(self):<br>
targetarch = get_bb_var('TUNE_ARCH')<br>
- self.run_test_sstate_creation(<wbr>['binutils-cross-'+ targetarch, 'binutils-native'], distro_specific=True, distro_nonspecific=False, temp_sstate_location=True)<br>
+ # Execute the test in all distros expect poky-tiny where glibc-initial is not provided<br>
+ targets = ['binutils-cross-'+ targetarch, 'binutils-native']<br>
+ if self.distro == 'poky-tiny':<br>
+ self.skipTest('Distro %s does not support building the following targets %s' % (self.distro, ','.join(targets)))<br>
+ self.run_test_sstate_creation(<wbr>targets, distro_specific=True, distro_nonspecific=False, temp_sstate_location=True)<br></blockquote><div><br></div><div>Sounds like it would be easier to just remove glibc-initial from that list, and either remove it entirely or replace it with a virtual name that both glibc and musl provide.</div><div> <br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">@@ -228,6 +255,8 @@ class SStateTests(SStateBase):<br>
build machines and running a builds, override the variables calling uname()<br>
manually and check using bitbake -S.<br>
"""<br>
+ if self.distro == 'poky-tiny':<br>
+ self.skipTest('core-image-sato not buildable for poky-tiny')<br>
<br>
topdir = get_bb_var('TOPDIR')<br>
targetvendor = get_bb_var('TARGET_VENDOR')<br></blockquote><div><br></div><div>For all of these tests that just do bitbake -S core-image-sato, if world works then that is more flexible and more comprehensive.</div><div><br></div><div>Ross</div></div></div></div>