runtests: support "threaded-resolver" as a feature

... to let tests require it or skip if present
This commit is contained in:
Daniel Stenberg 2017-07-06 11:11:07 +02:00
parent 6b0aa00abb
commit 759efe7b51
2 changed files with 11 additions and 0 deletions

View File

@ -239,6 +239,7 @@ SSLpinning
SSPI SSPI
TLS-SRP TLS-SRP
TrackMemory TrackMemory
threaded-resolver
unittest unittest
unix-sockets unix-sockets
WinSSL WinSSL

View File

@ -3264,6 +3264,11 @@ sub singletest {
next; next;
} }
} }
elsif($1 eq "threaded-resolver") {
if($has_threadedres) {
next;
}
}
elsif($1 eq "PSL") { elsif($1 eq "PSL") {
if($has_psl) { if($has_psl) {
next; next;
@ -3410,6 +3415,11 @@ sub singletest {
next; next;
} }
} }
elsif($1 eq "threaded-resolver") {
if(!$has_threadedres) {
next;
}
}
else { else {
next; next;
} }