summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcel Raad <Marcel.Raad@teamviewer.com>2018-10-04 10:12:26 +0200
committerMarcel Raad <Marcel.Raad@teamviewer.com>2018-10-04 11:44:32 +0200
commit5fdac8d4f952d0b64d682111c2dd8f3a74fb34d3 (patch)
treeccee8bda366c7099210f3fb6997635f76067ad92
parent3b4f24372206bd03eaf9330910bb9f641dfb669a (diff)
downloadcurl-5fdac8d4f952d0b64d682111c2dd8f3a74fb34d3.tar.gz
runtests: use Windows paths for Windows curl
curl generated by CMake's Visual Studio generator has "Windows" in the version number.
-rwxr-xr-xtests/runtests.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/runtests.pl b/tests/runtests.pl
index b83dc4646..4345df2d0 100755
--- a/tests/runtests.pl
+++ b/tests/runtests.pl
@@ -2685,7 +2685,7 @@ sub checksystem {
if($curl =~ /linux|bsd|solaris|darwin/) {
$has_ldpreload = 1;
}
- if($curl =~ /win32|mingw(32|64)/) {
+ if($curl =~ /win32|Windows|mingw(32|64)/) {
# This is a Windows MinGW build or native build, we need to use
# Win32-style path.
$pwd = pathhelp::sys_native_current_path();