curl-library
Passing key value parameters to testcurl.pl
Date: Tue, 31 May 2011 09:49:33 +0200
Hello everyone,
I am trying to pass the following arguments to testcurl.pl:
./tests/testcurl.pl --nogitpull --mktarball=../mktarball.sh
'--configure=--host=i586-mingw32msvc --prefix=/usr/i586-mingw32msvc
--disable-ldap --disable-rtsp --without-ssl
--with-nss=/tmp/win32dev/nss-3.12.5-nspr-4.8.2'
The problem is that testcurl.pl splits it's own arguments into 2 or more
parts using the equal sign already. It drops everything behind the third
equal sign.
So the result of the command line above is:
testcurl: CONFOPTS = --host --enable-warnings
This is the code responsible:
elsif ($ARGV[0] =~ /--configure=/) {
$confopts = (split(/=/, shift @ARGV))[1];
}
Does anyone have a solution to this issue?
The story behind this is: I am setting up a Linux and Windows buildbot which
runs autobuilds.
Best regards,
Marc
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2011-05-31