summaryrefslogtreecommitdiff
path: root/tests/runtests.pl
diff options
context:
space:
mode:
authorStephan Szabo <stephan.szabo@sony.com>2021-01-20 10:08:49 -0800
committerJay Satiro <raysatiro@yahoo.com>2021-02-09 02:45:51 -0500
commit1269c80af1dc45c3cee1dbbc76270ac7c7d6f1c3 (patch)
tree8376253c4116399f71fbfd820a940949f18117f9 /tests/runtests.pl
parentd4a3b87c13da5db437dc66d646132bdeb902e196 (diff)
downloadcurl-1269c80af1dc45c3cee1dbbc76270ac7c7d6f1c3.tar.gz
file: Support unicode urls on windows
Closes https://github.com/curl/curl/pull/6501
Diffstat (limited to 'tests/runtests.pl')
-rwxr-xr-xtests/runtests.pl5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/runtests.pl b/tests/runtests.pl
index e7ed435bc..ddee02ad3 100755
--- a/tests/runtests.pl
+++ b/tests/runtests.pl
@@ -268,6 +268,7 @@ my $has_manual; # set if built with built-in manual
my $has_win32; # set if built for Windows
my $has_mingw; # set if built with MinGW (as opposed to MinGW-w64)
my $has_hyper = 0; # set if built with Hyper
+my $has_unicode; # set if libcurl is built with Unicode support
# this version is decided by the particular nghttp2 library that is being used
my $h2cver = "h2c";
@@ -2826,6 +2827,7 @@ sub setupfeatures {
$feature{"threaded-resolver"} = $has_threadedres;
$feature{"TLS-SRP"} = $has_tls_srp;
$feature{"TrackMemory"} = $has_memory_tracking;
+ $feature{"Unicode"} = $has_unicode;
$feature{"unittest"} = $debug_build;
$feature{"unix-sockets"} = $has_unix;
$feature{"win32"} = $has_win32;
@@ -3093,6 +3095,9 @@ sub checksystem {
# 'https-proxy' is used as "server" so consider it a protocol
push @protocols, 'https-proxy';
}
+ if($feat =~ /Unicode/i) {
+ $has_unicode = 1;
+ }
}
#
# Test harness currently uses a non-stunnel server in order to