]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
refuse running the torture tests without a debug build
authorDaniel Stenberg <daniel@haxx.se>
Mon, 14 Jun 2004 08:25:54 +0000 (08:25 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 14 Jun 2004 08:25:54 +0000 (08:25 +0000)
tests/runtests.pl

index 831c095df1bd484bfb987fe376239018b67e2ce6..de61feffd7637f1886f3f02b53414d5c537136d7 100755 (executable)
@@ -748,6 +748,10 @@ sub checkcurl {
         die "couldn't run '$CURL'"
     }
 
+    if(!$curl_debug && $torture) {
+        die "can't run torture tests since curl was not build with debug";
+    }
+
     my $hostname=`hostname`;
     my $hosttype=`uname -a`;