aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-06-14 08:25:54 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-06-14 08:25:54 +0000
commit1770563fffde91688608bf1359af6170592df0a8 (patch)
treeda2e3c6a08861b2390268dc4ea923c53d2ed8a08
parent4cd96483f6cfe958286bddfb7ad0286a4d2a7e65 (diff)
refuse running the torture tests without a debug build
-rwxr-xr-xtests/runtests.pl4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/runtests.pl b/tests/runtests.pl
index 831c095df..de61feffd 100755
--- a/tests/runtests.pl
+++ b/tests/runtests.pl
@@ -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`;