curl-library
Re: curl unit testing
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 3 Jan 2011 10:32:49 +0100 (CET)
Date: Mon, 3 Jan 2011 10:32:49 +0100 (CET)
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.htmlReceived on 2011-01-03