gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnurl] 185/222: runtests: get textaware info from curl instead of perl


From: gnunet
Subject: [gnurl] 185/222: runtests: get textaware info from curl instead of perl
Date: Thu, 07 Nov 2019 00:11:21 +0100

This is an automated email from the git hooks/post-receive script.

ng0 pushed a commit to branch master
in repository gnurl.

commit cebbba9f9d877b6d387294e7ce990a7497795a30
Author: Marcel Raad <address@hidden>
AuthorDate: Fri Oct 18 23:22:04 2019 +0200

    runtests: get textaware info from curl instead of perl
    
    The MSYS system on Windows can run the test suite for curl built with
    any toolset. When built with the MSYS GCC, curl uses Unix line endings,
    while it uses Windows line endings when built with the MinGW GCC, and
    `^O` reports 'msys' in both cases. Use the curl executable itself to
    determine the line endings instead, which reports 'x86_64-pc-msys' when
    built with the MSYS GCC.
    
    Closes https://github.com/curl/curl/pull/4506
---
 tests/runtests.pl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/runtests.pl b/tests/runtests.pl
index 9413f0d41..63bd2da68 100755
--- a/tests/runtests.pl
+++ b/tests/runtests.pl
@@ -2678,6 +2678,7 @@ sub checksystem {
                 # This is a Windows MinGW build or native build, we need to use
                 # Win32-style path.
                 $pwd = pathhelp::sys_native_current_path();
+                $has_textaware = 1;
             }
            if ($libcurl =~ /(winssl|schannel)/i) {
                $has_winssl=1;
@@ -3024,7 +3025,6 @@ sub checksystem {
             }
         }
     }
-    $has_textaware = ($^O eq 'MSWin32') || ($^O eq 'msys');
 
     logmsg "***************************************** \n";
 

-- 
To stop receiving notification emails like this one, please contact
address@hidden.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]