]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
Trial to teach runtests.pl about WinSSL.
authorGuenter Knauf <lists@gknw.net>
Tue, 17 Jul 2012 05:13:58 +0000 (07:13 +0200)
committerGuenter Knauf <lists@gknw.net>
Tue, 17 Jul 2012 05:13:58 +0000 (07:13 +0200)
tests/runtests.pl

index ee2f30873dabf47456d97491b2c0c81ea12d1272..de636e1ea29db72178dd73ca495bc29005f16d68 100755 (executable)
@@ -219,6 +219,7 @@ my $has_nss;     # built with NSS
 my $has_yassl;   # built with yassl
 my $has_polarssl;# built with polarssl
 my $has_axtls;   # built with axTLS
+my $has_winssl;  # built with WinSSL (Schannel/SSPI)
 
 my $has_shared = "unknown";  # built shared
 
@@ -2280,6 +2281,10 @@ sub checksystem {
                $has_axtls=1;
                $ssllib="axTLS";
            }
+           elsif ($libcurl =~ /winssl/i) {
+               $has_winssl=1;
+               $ssllib="WinSSL";
+           }
         }
         elsif($_ =~ /^Protocols: (.*)/i) {
             # these are the protocols compiled in to this libcurl
@@ -2699,6 +2704,11 @@ sub singletest {
                 next;
             }
         }
+        elsif($f eq "WinSSL") {
+            if($has_winssl) {
+                next;
+            }
+        }
         elsif($f eq "unittest") {
             if($debug_build) {
                 next;