[OE-core] [PATCH] selftest/pkgdata: support musl on unit tests
Leonardo Sandoval
leonardo.sandoval.gonzalez at linux.intel.com
Thu Mar 30 14:38:21 UTC 2017
On Thu, 2017-03-30 at 12:45 +0100, Burton, Ross wrote:
>
> 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.
If you consider that replacing the libc for another recipe/package is
fine, I go that way.
Leo
>
>
> Ross
More information about the Openembedded-core
mailing list