Re: Tests fail in Windows with cygwin

2024-09-26 Thread Michele Locati
> That's because the Cygwin package named 'libiconv-devel' contains > the Cygwin binaries. What you need are the mingw binaries, which > you have to compile yourself (since they are not packaged [1][2]). That worked [1]! The only remaining failing test is not test-nonblocking-socket.sh: I'll try t

Re: Tests fail in Windows with cygwin

2024-09-26 Thread Bruno Haible
Michele Locati wrote: > > These 28 failures are because you don't have an 'iconv' library installed. > > See gnulib/DEPENDENCIES (search for 'libiconv'). > > I initially installed the Cygwin package named "libiconv-devel" when I > encountered those errors. > > Then I tried adding the package name

Re: Tests fail in Windows with cygwin

2024-09-26 Thread Michele Locati
> > FAIL: test-u16-casecoll > > === > > ../../gltests/unicase/test-casecmp.h:34: assertion 'my_casecmp (input, > > SIZEOF (input), NULL, 0, NULL, nf, &cmp) == 0' failed > > FAIL test-u16-casecoll.exe (exit status: 3) > > These 28 failures are because you don't have an 'iconv' li

Re: Tests fail in Windows with cygwin

2024-09-26 Thread Bruno Haible
Michele Locati wrote: > I'm building iconv+gettext for Windows with Cygwin and MinGW-w64 in a > GitHub Action [1]. > > When running make check for gettext-tools, we have two failing tests [2]. > In the test-suite.log file we have: > > FAIL: test-getopt-gnu > = > ../../../gette

string-buffer tests: Avoid test failure on native Windows

2024-09-26 Thread Bruno Haible
Michele Locati wrote: > I tried checking gnulib in a similar environment [4], and there we > have these failures: > ... > FAIL: test-string-buffer > > ../../gltests/test-string-buffer.c:159: assertion 'ret < 0' failed > FAIL test-string-buffer.exe (exit status: 3) Fixed as

Tests fail in Windows with cygwin

2024-09-26 Thread Michele Locati
I'm building iconv+gettext for Windows with Cygwin and MinGW-w64 in a GitHub Action [1]. When running make check for gettext-tools, we have two failing tests [2]. In the test-suite.log file we have: FAIL: test-getopt-gnu = ../../../gettext-tools/gnulib-tests/test-getopt_long.h