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] Add compile testing to glibc test framework.


On 06/07/2016 03:44 AM, Andreas Schwab wrote:
> Carlos O'Donell <carlos@redhat.com> writes:
> 
>> +ifeq ($(subdir),inet)
>> +# Add tests for Linux and glibc header compatibility.
>> +tests-compile += tst-ipv6-compat1 tst-ipv6-compat2 tst-ipv6-compat3
>> +TEST_SRC_DIR = ../sysdeps/unix/sysv/linux/
> 
> test-source-dir = ...

Changed to 'tests-source-dir' following other plural uses of 'tests'.

> How do multiple occurrences of test-compile interact with each other in
> relation to test-source-dir?

They don't work.

You can't have a compile test in inet/ and one in sysdeps/unix/sysv/linux/
which adds to inet/ without breaking the source<->test mapping for the
inet/ test. I can document that.

It's a limitation of the simplicity of the static pattern
rule and my desire to keep the impact minimal on the build cost.

-- 
Cheers,
Carlos.


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