curl-library
Re: curl unit testing
Date: Mon, 3 Jan 2011 12:27:01 +0200
On Mon, Jan 3, 2011 at 11:32 AM, Daniel Stenberg <daniel_at_haxx.se> wrote:
> On Sun, 2 Jan 2011, Dan Fandrich wrote:
>
> Unfortunately, unit tests are impossible to run against a dynamic library
>> when --enable-hidden-symbols is used. That's the whole point of
>> --enable-hidden-symbols and can't be overcome.
>>
>
> Exactly. And I believe Windows DLLs have the similar concept: it restricts
> "access" to an explicit set of symbols.
>
> So when we want to unit test other functions we need another way to reach
> them.
>
> Also, the existance of many static functions may force us to do a separate
> build for unit tests anyway.
>
> --
>
> / daniel.haxx.se
>
> -------------------------------------------------------------------
> List admin: http://cool.haxx.se/list/listinfo/curl-library
> Etiquette: http://curl.haxx.se/mail/etiquette.html
>
What does --enable-hidden-symbols exactly do ?
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2011-01-03