Skip to content

Commit

Permalink
runtests.pl: Added GSS-API detection
Browse files Browse the repository at this point in the history
  • Loading branch information
captain-caveman2k committed Nov 22, 2014
1 parent 84d752d commit 5b437c7
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions tests/runtests.pl
Expand Up @@ -211,6 +211,7 @@ BEGIN
my $has_ntlm; # set if libcurl is built with NTLM support
my $has_ntlm_wb; # set if libcurl is built with NTLM delegation to winbind
my $has_sspi; # set if libcurl is built with SSPI support
my $has_gssapi; # set if libcurl is built with a GSS-API library
my $has_charconv;# set if libcurl is built with CharConv support
my $has_tls_srp; # set if libcurl is built with TLS-SRP support
my $has_metalink;# set if curl is built with Metalink support
Expand Down Expand Up @@ -2398,6 +2399,10 @@ sub checksystem {
# SSPI enabled
$has_sspi=1;
}
if($feat =~ /GSS-API/i) {
# GSS-API enabled
$has_gssapi=1;
}
if($feat =~ /CharConv/i) {
# CharConv enabled
$has_charconv=1;
Expand Down Expand Up @@ -2859,6 +2864,11 @@ sub singletest {
next;
}
}
elsif($1 eq "GSS-API") {
if($has_gssapi) {
next;
}
}
elsif($1 eq "getrlimit") {
if($has_getrlimit) {
next;
Expand Down Expand Up @@ -2979,6 +2989,11 @@ sub singletest {
next;
}
}
elsif($1 eq "GSS-API") {
if(!$has_gssapi) {
next;
}
}
elsif($1 eq "getrlimit") {
if(!$has_getrlimit) {
next;
Expand Down

0 comments on commit 5b437c7

Please sign in to comment.