← Commit list

fb7033d760

Daniel Stenberg
Daniel Stenberg
2025-12-01
SUCCESS Duration: 185s

Subject

runtests: enable torture testing with threaded resolver

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

tests/runtests.pl+3 -16
@@ -846,15 +846,9 @@ sub checksystemfeatures {
}
# 'socks' was once here but is now removed
- if($torture) {
- if(!$feature{"TrackMemory"}) {
- die "cannot run torture tests since curl was built without ".
- "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";
- }
+ if($torture && !$feature{"TrackMemory"}) {
+ die "cannot run torture tests since curl was built without ".
+ "TrackMemory feature (--enable-curldebug)";
}
my $hostname=join(' ', runclientoutput("hostname"));
@@ -879,13 +873,6 @@ sub checksystemfeatures {
# Only show if not the default for now
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",
$valgrind?"Valgrind ":"",