aboutsummaryrefslogtreecommitdiff
path: root/tests/testcurl.pl
diff options
context:
space:
mode:
authorGuenter Knauf <lists@gknw.net>2010-10-14 00:57:36 +0200
committerGuenter Knauf <lists@gknw.net>2010-10-14 00:57:36 +0200
commit7e46061cac2ba460c337d9ec89e06c32a5e97d99 (patch)
tree8ff2964d654fc6006ec5e311d0c9f6f2b09dc0fa /tests/testcurl.pl
parent7b79c8bf96658b2c657769d3945ea2e943b9fef9 (diff)
Added --noconfigure switch to testcurl.pl.
Diffstat (limited to 'tests/testcurl.pl')
-rwxr-xr-xtests/testcurl.pl7
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/testcurl.pl b/tests/testcurl.pl
index a0fd889b5..27f188f2f 100755
--- a/tests/testcurl.pl
+++ b/tests/testcurl.pl
@@ -49,6 +49,7 @@
# --nocvsup Don't pull from git even though it is a git tree
# --nogitpull Don't pull from git even though it is a git tree
# --nobuildconf Don't run buildconf
+# --noconfigure Don't run configure
# --runtestopts=[options] Options to pass to runtests.pl
# --setup=[file name] File name to read setup from (deprecated)
# --target=[your os] Specify your target environment.
@@ -84,6 +85,7 @@ if (-f ".git/config") {
$git=1;
$setupfile = 'setup';
+$configurebuild = 1;
while ($ARGV[0]) {
if ($ARGV[0] =~ /--target=/) {
$targetos = (split(/=/, shift @ARGV))[1];
@@ -117,6 +119,10 @@ while ($ARGV[0]) {
$nobuildconf=1;
shift @ARGV;
}
+ elsif ($ARGV[0] =~ /--noconfigure/) {
+ $configurebuild=0;
+ shift @ARGV;
+ }
elsif ($ARGV[0] =~ /--crosscompile/) {
$crosscompile=1;
shift @ARGV;
@@ -131,7 +137,6 @@ while ($ARGV[0]) {
}
# Do the platform-specific stuff here
-$configurebuild = 1;
$confheader = 'curl_config.h';
$binext = '';
$libext = '.la'; # .la since both libcurl and libcares are made with libtool