support 'large_file' as a feature to require for specific tests (such as
test 99)
This commit is contained in:
parent
c9b23ca055
commit
71335e5b99
@ -77,6 +77,7 @@ my $stunnel = checkcmd("stunnel");
|
|||||||
my $valgrind = checkcmd("valgrind");
|
my $valgrind = checkcmd("valgrind");
|
||||||
|
|
||||||
my $ssl_version; # set if libcurl is built with SSL support
|
my $ssl_version; # set if libcurl is built with SSL support
|
||||||
|
my $large_file; # set if libcurl is built with large file support
|
||||||
|
|
||||||
my $skipped=0; # number of tests skipped; reported in main loop
|
my $skipped=0; # number of tests skipped; reported in main loop
|
||||||
my %skipped; # skipped{reason}=counter, reasons for skip
|
my %skipped; # skipped{reason}=counter, reasons for skip
|
||||||
@ -694,6 +695,10 @@ sub checkcurl {
|
|||||||
# ssl enabled
|
# ssl enabled
|
||||||
$ssl_version=1;
|
$ssl_version=1;
|
||||||
}
|
}
|
||||||
|
if($feat =~ /Largefile/i) {
|
||||||
|
# large file support
|
||||||
|
$large_file=1;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if(!$curl) {
|
if(!$curl) {
|
||||||
@ -771,6 +776,11 @@ sub singletest {
|
|||||||
next;
|
next;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
elsif($f eq "large_file") {
|
||||||
|
if($large_file) {
|
||||||
|
next;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
$why = "curl lacks $f support";
|
$why = "curl lacks $f support";
|
||||||
$serverproblem = 15; # set it here
|
$serverproblem = 15; # set it here
|
||||||
|
Loading…
x
Reference in New Issue
Block a user