[PATCH] Add --enable-dynamic-test configure option

Nix nix@esperi.org.uk
Mon Dec 10 13:37:00 GMT 2012


On 9 Dec 2012, Andi Kleen told this:

> Andreas Schwab <schwab@linux-m68k.org> writes:
>
>> "H.J. Lu" <hjl.tools@gmail.com> writes:
>>
>>> Here is the updated patch to add --enable-dynamic-test.
>>
>> That's a pretty non-descriptive option name.
>>
>> --enable-hardcode-build-in-tests
>
> Or just make it default without option. 
>
> When you you ever not want to do that?

When you want to compare the behaviour of a test with an old and new C
library, or with multiple C library build trees with different changes
applied to each.

(Sure, the former is obscure becaue the old C library would hopefully
have passed the tests, but I've done the latter a few times. It's hardly
killingly useful, though, because multiple build trees are going to have
multiple copies of the test programs in them as well. On balance, I
agree, this option should be on by default.)

-- 
NULL && (void)



More information about the Libc-alpha mailing list