1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-22 08:08:50 -05:00

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
TLS-SRP
TrackMemory
threaded-resolver
unittest
unix-sockets
WinSSL

View File

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