[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: sed-4.7.13-3c1e on mingw
From: |
Bruno Haible |
Subject: |
Re: sed-4.7.13-3c1e on mingw |
Date: |
Mon, 06 Jan 2020 14:07:27 +0100 |
User-agent: |
KMail/5.1.3 (Linux/4.4.0-170-generic; KDE/5.18.0; x86_64; ; ) |
On mingw (from within a Cygwin build environment), the compilation
succeeds, but there are 45 test failures. Log attached.
1) Many of the failures are obviously due to differences in end-of-line
convention, between the expected output and the actual output.
In the GNU gettext tests, I use this idiom to ignore these differences:
LC_ALL=C tr -d '\r' < output.tmp > output || exit 1
2) Other test failures occur because mingw shows the absolute program name,
whereas other platforms don't:
sed: -e expression #1, char 0: no previous regular expression
versus
C:\cygwin64\home\bruno\sed-4.7.13-3c1e\build-mingw64\sed\sed.exe: -e
expression #1, char 0: no previous regular expression
In the GNU gettext tests, I postprocess the standard error like this:
_some_command_ 2>&1 | grep -v '^==' | sed -e 's|[^ ]*\\sed\.exe|sed|' -e
's|^sed\.exe|sed|' -e 's|^/cygdrive/[^ ]*/sed|sed|' | LC_ALL=C tr -d '\r' > out
The "grep -v '^=='" removes valgrind output. The next pipe normalizes
native Windows and Cygwin program names. The final 'tr' command converts
to Unix end-of-line conventions.
Bruno
mingw-test-suite.log
Description: Text Data
- new snapshot available: sed-4.7.13-3c1e, Jim Meyering, 2020/01/05
- Re: sed-4.7.13-3c1e on Alpine Linux, Bruno Haible, 2020/01/05
- Re: sed-4.7.13-3c1e on Solaris 10, Bruno Haible, 2020/01/06
- Re: sed-4.7.13-3c1e on IRIX, Bruno Haible, 2020/01/06
- Re: sed-4.7.13-3c1e on mingw,
Bruno Haible <=
- Re: sed-4.7.13-3c1e on MSVC, Bruno Haible, 2020/01/06
- Re: [platform-testers] new snapshot available: sed-4.7.13-3c1e on HP-UX 11.31, Bruno Haible, 2020/01/06
- Re: sed-4.7.13-3c1e on Haiku, Bruno Haible, 2020/01/06
- Re: sed-4.7.13-3c1e test summary, Bruno Haible, 2020/01/06
- Re: new snapshot available: sed-4.7.13-3c1e, Jan Nieuwenhuizen, 2020/01/06