]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
runtests: enable torture testing with threaded resolver
authorDaniel Stenberg <daniel@haxx.se>
Mon, 1 Dec 2025 12:48:12 +0000 (13:48 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 1 Dec 2025 13:42:40 +0000 (14:42 +0100)
Since a7bebd850291 made it possible.
Closes #19786

tests/runtests.pl

index 648666fd301e78a18bd0393ee33c96f394e90ec0..1bde3f3afc648165d2547862de9142dbaa11d691 100755 (executable)
@@ -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 ":"",