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:
parent
6b0aa00abb
commit
759efe7b51
@ -239,6 +239,7 @@ SSLpinning
|
||||
SSPI
|
||||
TLS-SRP
|
||||
TrackMemory
|
||||
threaded-resolver
|
||||
unittest
|
||||
unix-sockets
|
||||
WinSSL
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user