]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
runtests: use Windows paths for Windows curl
authorMarcel Raad <Marcel.Raad@teamviewer.com>
Thu, 4 Oct 2018 08:12:26 +0000 (10:12 +0200)
committerMarcel Raad <Marcel.Raad@teamviewer.com>
Thu, 4 Oct 2018 09:44:32 +0000 (11:44 +0200)
curl generated by CMake's Visual Studio generator has "Windows" in the
version number.

tests/runtests.pl

index b83dc4646f08b284ff9be06a9a616175bd0faf71..4345df2d07d5187d167a943f488d35eb6c4046f4 100755 (executable)
@@ -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();