GNU Libtool - Patches: patch #9341, testsuite.at: prefer diff...
You are not allowed to post comments on this tracker with your current authentication level.
patch #9341: testsuite.at: prefer diff --strip-trailing-cr
Submitter: | Michael Haubenwallner <haubi> | ||
Submitted: | Wed 10 May 2017 02:24:08 PM UTC | ||
Category: | None | Priority: | 5 - Normal |
Status: | None | Privacy: | Public |
Assigned to: | None | Open/Closed: | Open |
Tue 16 May 2017 01:06:31 PM UTC, comment #2: |
Michael Haubenwallner <haubi> |
Tue 16 May 2017 08:00:31 AM UTC, comment #1: [copying my msg from the ML to the patch tracker]
|
Peter Rosin <pekberg>![]() |
Wed 10 May 2017 02:24:08 PM UTC, original submission:
On Cygwin, when using CC=cl.exe (MSVC) as the compiler, some test cases fail just because of unexpected carriage return output from test binaries.
|
Michael Haubenwallner <haubi> |
Depends on the following items: None found
Items that depend on this one: None found
There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
Follows 1 latest change.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2017-05-10 | haubi | Attached File | - | ![]() |
Added 0001-testsuite.at-prefer-diff-strip-trailing-cr.patch, #40648 |
Then I'm wondering why libtool does actually support the cc_basename=cl with host_os=cygwin at all.
Anyway, my final goal is beyond the MSVC toolchain: I'm about to rework the old patches (http://lists.gnu.org/archive/html/libtool-patches/2008-02/msg00014.html) adding support for the MSVC wrapper called "Parity" (at https://github.com/haubi/parity/ for now), which does:
We do use it on Cygwin (now, since Interix is gone) within Gentoo Prefix, to maintain an ecosystem using the native MSVC toolchain, configured in the "lying" way with --build=i586-pc-winnt --host=i586-pc-winnt - which is similar to "multilib" actually.
That is, I'm about to prepare libtool patches to support the --winnt host triplet, which feels a lot more correct for MSVC than using --host=mingw32 - and should support unwrapped cl.exe as well.
But as the application's O_BINARY setting may vary for host_os=winnt then, I prefer to 'diff --strip-trailing-cr' rather than testing for another host_os - or even current binary setting.
Thus the idea is to have the testsuite setup not depend on $host_os, but just ignore CR if possible - as the test programs all have textual output only.
Thanks!
/haubi/