[OE-core] [PATCH] selftest/pkgdata: support musl on unit tests

Burton, Ross ross.burton at intel.com
Thu Mar 30 11:45:40 UTC 2017


On 30 March 2017 at 07:39, <leonardo.sandoval.gonzalez at linux.intel.com>
wrote:

> +        # recipe-runtime-package relation for virtual/libc provider
> +        Libc = collections.namedtuple('Libc', ['recipe', 'runtime_pkg',
> 'libpath', 'staticdev', 'utils', 'rutils'])
> +        cls.libc = Libc('glibc', 'libc6', '/lib/libc.so.6',
> 'libc6-staticdev', 'glibc-utils', 'lib6-utils')
> +        if get_bb_var('TCLIBC') == 'musl':
> +            cls.libc = Libc('musl', 'musl', '/usr/lib/libc.so',
> 'musl-staticdev', None, None)
>

Instead of all of this, why not just change the tests to use a different
package?  The bulk of them were just using glibc as it's going to be built,
but we've built zlib too so the tests could use that instead.

Ross
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20170330/a81eb48c/attachment-0002.html>


More information about the Openembedded-core mailing list