This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] ARM: Don't define _SYS_AUXV_H in sysdep.h


On Tue, Sep 16, 2014 at 09:47:49PM +0000, Joseph S. Myers wrote:
> Why does sysdep.h get included from these testcases anyway?  As well as 
> moving away from defining _LIBC (and other internal defines) for tests 
> unless needed for a particular test, it would also be good to move away 
> from tests using the internal includes (if such an include is responsible 
> here), instead making them use the versions of headers that actually get 
> installed before looking for any other headers in the source tree or 
> sysdeps directories.

I wonder if it would make sense to 'install' headers into a known
location in the build directory during build and use only that for the
tests.  That would make the tests completely isolated from the
internal headers.  There are some tests that explicitly do white box
testing; those can be treated as special cases.

Siddhesh

Attachment: pgpgA41KJI0PL.pgp
Description: PGP signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]