cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: curl unit testing

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Sat, 1 Jan 2011 11:30:23 -0800

On Sat, Jan 01, 2011 at 05:37:28PM +0100, Daniel Stenberg wrote:
> To put the code where my mouth is, the attached patch is a working
> version of the same llist set of tests adjusted to my way of
> thinking.

Looks fine to me. You'll need to generalize the kind of mechanism already
used in unit tests 558 and 577 to skip the tests when --enable-hidden-symbols
has been used. Maybe by making on a "feature" as in
<features>unittest</features>, or a <precheck> program.

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