From da2bde9d62f017fb8d20e210a5ade9d5a638e451 Mon Sep 17 00:00:00 2001 From: Guenter Knauf Date: Tue, 17 Jul 2012 07:13:58 +0200 Subject: [PATCH] Trial to teach runtests.pl about WinSSL. --- tests/runtests.pl | 10 ++++++++++ 1 file changed, 10 insertions(+) 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;