[PATCH] extras: New test/build infrastructure

Florian Weimer fweimer@redhat.com
Fri Nov 25 16:16:00 GMT 2016


On 11/25/2016 04:59 PM, Florian Weimer wrote:
> I have split up test-skeleton.c into its components.  The new test
> skeleton should be compatible with compilation in C90 mode.  I expect to
> use some of these helper functions for future build support on the host
> (that is, these routines will have to be compiled twice, once against
> the built libc, and once against the host libc).
>
> I converted a few tests to make sure that this works as expected.
>
> I do not propose bulk migration at this point.  Some obscure use cases
> are not supported by the exported hooks.
>
> If you think this goes in the right direction, I will port over my
> container-based nss_files testing, and the resolver test suite to this
> infrastructure.  It also eliminates the need for the hack in my fix for
> bug 16421 I posted earlier.
>
> Tested on aarch64, ppc64le, s390x, x86_64.

Testing on i386 revealed that the following change to the temporary file 
infrastructure is needed.

Florian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: extras-32.patch
Type: text/x-patch
Size: 480 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20161125/86bd00c5/attachment.bin>


More information about the Libc-alpha mailing list