runtests: add 'debug' as a feature a test can require
authorDaniel Stenberg <daniel@haxx.se>
Tue, 19 Jul 2011 21:49:40 +0000 (23:49 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 19 Jul 2011 21:49:40 +0000 (23:49 +0200)
tests/FILEFORMAT
tests/runtests.pl

index 74fecac..fd036a2 100644 (file)
@@ -176,13 +176,13 @@ idn
 ipv6
 large_file
 libz
-netrc_debug
 NSS
 NTLM
 OpenSSL
 SSL
 socks
 unittest
+debug
 
 as well as each protocol that curl supports.  A protocol only needs to be
 specified if it is different from the server (useful when the server
index 749840b..d6b7d08 100755 (executable)
@@ -2495,6 +2495,11 @@ sub singletest {
                 next;
             }
         }
+        elsif($f eq "debug") {
+            if($debug_build) {
+                next;
+            }
+        }
         elsif($f eq "large_file") {
             if($large_file) {
                 next;