cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: [PROPOSAL] changes to ./tests/testcurl.pl

From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Thu, 10 Jun 2004 09:57:43 +0200 (CEST)

On Wed, 9 Jun 2004, Guenter Knauf wrote:

> I'm just looking at adding more automated builds, and see that we currently
> only differ between Win32 and non-Win32.

That's right.

> I would like to introduce a new env var CURL_TARGET, this can then be set to
> the target system, f.e. then I can use:

> set CURL_TARGET=mingw32
> perl ./curl/tests/testcurl.pl
> set CURL_TARGET=netware
> perl ./curl/tests/testcurl.pl

I would prefer having the script take a host option instead (if it can't
figure it out by itself), like:

 perl ./curl/tests/testcurl.pl --host netware

> is it acceptable that then for MSVC compile a 'set CURL_TARGET=vc' is
> needed?

You could start with having builds on win32 assume MSVC if no --host is given,
to make the already running msvc autobuilds continue to run fine unmodified.

Of course, --host could be called something else.

-- 
     Daniel Stenberg -- http://curl.haxx.se -- http://daniel.haxx.se
      Dedicated custom curl help for hire: http://haxx.se/curl.html
Received on 2004-06-10