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 --enable-dynamic-test configure option


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)


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