From: Daniel Stenberg Date: Thu, 6 Jul 2017 09:11:07 +0000 (+0200) Subject: runtests: support "threaded-resolver" as a feature X-Git-Tag: curl-7_55_0~95 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=759efe7b51d1a2d5681839d6fb23b21b27de91ba;p=thirdparty%2Fcurl.git runtests: support "threaded-resolver" as a feature ... to let tests require it or skip if present --- diff --git a/tests/FILEFORMAT b/tests/FILEFORMAT index 5c1e96f537..75e561ae8a 100644 --- a/tests/FILEFORMAT +++ b/tests/FILEFORMAT @@ -239,6 +239,7 @@ SSLpinning SSPI TLS-SRP TrackMemory +threaded-resolver unittest unix-sockets WinSSL diff --git a/tests/runtests.pl b/tests/runtests.pl index a837002004..212e726e71 100755 --- a/tests/runtests.pl +++ b/tests/runtests.pl @@ -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; }