diff options
author | Daniel Stenberg <daniel@haxx.se> | 2017-07-06 11:11:07 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2017-07-06 11:49:50 +0200 |
commit | 759efe7b51d1a2d5681839d6fb23b21b27de91ba (patch) | |
tree | 39ef858bd33bc5bbb74ad0bc45a40114f557fafb /tests/runtests.pl | |
parent | 6b0aa00abb8836bb4328f07cbe75421e21cd341e (diff) |
runtests: support "threaded-resolver" as a feature
... to let tests require it or skip if present
Diffstat (limited to 'tests/runtests.pl')
-rwxr-xr-x | tests/runtests.pl | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/runtests.pl b/tests/runtests.pl index a83700200..212e726e7 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; } |