diff options
| author | Guenter Knauf <lists@gknw.net> | 2012-07-17 07:13:58 +0200 | 
|---|---|---|
| committer | Guenter Knauf <lists@gknw.net> | 2012-07-17 07:13:58 +0200 | 
| commit | da2bde9d62f017fb8d20e210a5ade9d5a638e451 (patch) | |
| tree | 521da1ba39f1fcb7fed0075ead4c8cbb123575d7 /tests | |
| parent | 13abfd997ea17704e147f780feb60d7ac8f0fd99 (diff) | |
Trial to teach runtests.pl about WinSSL.
Diffstat (limited to 'tests')
| -rwxr-xr-x | tests/runtests.pl | 10 | 
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/runtests.pl b/tests/runtests.pl index ee2f30873..de636e1ea 100755 --- a/tests/runtests.pl +++ b/tests/runtests.pl @@ -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;  | 
