mirror of
https://github.com/curl/curl.git
synced 2026-04-14 22:31:41 +03:00
runtests: enable torture testing with threaded resolver
Since a7bebd8502 made it possible.
Closes #19786
This commit is contained in:
parent
d1b85bc49c
commit
fb7033d760
1 changed files with 3 additions and 16 deletions
|
|
@ -846,15 +846,9 @@ sub checksystemfeatures {
|
||||||
}
|
}
|
||||||
# 'socks' was once here but is now removed
|
# 'socks' was once here but is now removed
|
||||||
|
|
||||||
if($torture) {
|
if($torture && !$feature{"TrackMemory"}) {
|
||||||
if(!$feature{"TrackMemory"}) {
|
die "cannot run torture tests since curl was built without ".
|
||||||
die "cannot run torture tests since curl was built without ".
|
"TrackMemory feature (--enable-curldebug)";
|
||||||
"TrackMemory feature (--enable-curldebug)";
|
|
||||||
}
|
|
||||||
if($feature{"threaded-resolver"} && !$valgrind) {
|
|
||||||
die "cannot run torture tests since curl was built with the ".
|
|
||||||
"threaded resolver, and we are not running with valgrind";
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
my $hostname=join(' ', runclientoutput("hostname"));
|
my $hostname=join(' ', runclientoutput("hostname"));
|
||||||
|
|
@ -879,13 +873,6 @@ sub checksystemfeatures {
|
||||||
# Only show if not the default for now
|
# Only show if not the default for now
|
||||||
logmsg "* Jobs: $jobs\n";
|
logmsg "* Jobs: $jobs\n";
|
||||||
}
|
}
|
||||||
# Disable memory tracking when using threaded resolver
|
|
||||||
if($feature{"TrackMemory"} && $feature{"threaded-resolver"}) {
|
|
||||||
logmsg("*\n",
|
|
||||||
"*** DISABLES TrackMemory (memory tracking) when using threaded resolver\n",
|
|
||||||
"*\n");
|
|
||||||
$feature{"TrackMemory"} = 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
my $env = sprintf("%s%s%s%s%s",
|
my $env = sprintf("%s%s%s%s%s",
|
||||||
$valgrind?"Valgrind ":"",
|
$valgrind?"Valgrind ":"",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue