mirror of
https://github.com/moparisthebest/curl
synced 2024-08-13 17:03:50 -04:00
runtests: support "threaded-resolver" as a feature
... to let tests require it or skip if present
This commit is contained in:
parent
6b0aa00abb
commit
759efe7b51
@ -239,6 +239,7 @@ SSLpinning
|
|||||||
SSPI
|
SSPI
|
||||||
TLS-SRP
|
TLS-SRP
|
||||||
TrackMemory
|
TrackMemory
|
||||||
|
threaded-resolver
|
||||||
unittest
|
unittest
|
||||||
unix-sockets
|
unix-sockets
|
||||||
WinSSL
|
WinSSL
|
||||||
|
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user