cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: curl unit testing

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Sun, 2 Jan 2011 10:27:11 +0100 (CET)

On Sun, 2 Jan 2011, Kamil Dudka wrote:

> I think, and have already said so [1], that tests should not be skipped
> unless really necessary. In case of unit tests, it's much better to link
> directly the modules being tested than going through whole libcurl and then
> have to skip all unit tests with --enable-hidden-symbols for nothing.

Right, it would certainly be an idea to have unit-tests link directly with the
object file(s) of the functions we want to test.

I'll experiment a little with that.

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2011-01-02