Discussion:
test results on Cygwin 1.7.30
(too old to reply)
Bruno Haible
2017-08-17 00:06:31 UTC
Permalink
Raw Message
Test results of a Gnulib POSIX testdir on Cygwin 1.7.30 (32-bit):


FAIL: test-fclose
=================

../../gltests/test-fclose.c:74: assertion 'lseek (fd, 0, SEEK_CUR) == 3' failed
FAIL test-fclose.exe (exit status: 134)

FAIL: test-fmal2
================

../../gltests/test-fma2.h:558: assertion 'result == - INFINITY' failed
FAIL test-fmal2.exe (exit status: 134)

FAIL: test-fsync
================

../../gltests/test-fsync.c:74: assertion 'fsync (fd) == 0' failed
FAIL test-fsync.exe (exit status: 134)

FAIL: test-ilogbl
=================

../../gltests/test-ilogb.h:75: assertion 'y == i - 1' failed
FAIL test-ilogbl.exe (exit status: 134)

FAIL: test-lock
===============

Starting test_lock ... OK
Starting test_rwlock ...FAIL test-lock.exe (exit status: 143)
(Here I had to kill test-lock.exe because it was taking too long.)

FAIL: test-logbl
================

../../gltests/test-logb.h:68: assertion 'y == (DOUBLE)(i - 1)' failed
FAIL test-logbl.exe (exit status: 134)

FAIL: test-nonblocking-pipe.sh
==============================

../../gltests/test-nonblocking-writer.h:89: assertion 'ret == 2 * data_block_size' failed
../../gltests/test-nonblocking-pipe.sh: line 14: 3248 Aborted (core dumped) ./test-nonblocking-pipe-main${EXEEXT} ./test-nonblocking-pipe-child${EXEEXT} 2
../../gltests/test-nonblocking-reader.h:118: assertion 'ret > 0' failed
FAIL test-nonblocking-pipe.sh (exit status: 1)

FAIL: test-poll
===============

Unconnected socket test... passed
Connected sockets test... failed (expecting POLLHUP after shutdown)
General socket test with fork... failed (expecting POLLHUP after shutdown)
Pipe test... failed (expecting POLLHUP after shutdown)
FAIL test-poll.exe (exit status: 3)

FAIL: test-ptsname
==================

../../gltests/test-ptsname.c:72: assertion 'result == NULL' failed
FAIL test-ptsname.exe (exit status: 134)

FAIL: test-ptsname_r
====================

../../gltests/test-ptsname_r.c:113: assertion 'result != 0' failed
FAIL test-ptsname_r.exe (exit status: 134)
Eric Blake
2017-08-17 01:55:32 UTC
Permalink
Raw Message
Can we repeat with modern cygwin 2.8.2?
--
Eric Blake, Principal Software Engineer
Red Hat, Inc. +1-919-301-3266
Virtualization: qemu.org | libvirt.org
Bruno Haible
2017-08-17 07:25:22 UTC
Permalink
Raw Message
Post by Eric Blake
Can we repeat with modern cygwin 2.8.2?
You can do so using the usual steps:
1. On a development machine:
- Check out gnulib.
$ ./gnulib-tool --create-testdir --dir=/tmp/testdir-posix --with-tests --single-configure `./posix-modules`
$ cd /tmp
$ tar cvfz testdir-posix.tar.gz testdir-posix
2. Transfer testdir-posix.tar.gz to the Cygwin machine.
3. On the Cygwin machine:
$ tar xfz testdir-posix.tar.gz
$ cd testdir-posix
$ ./configure CPPFLAGS="-Wall" 2>&1 | tee log1 \
&& make 2>&1 | tee log2 \
&& make check 2>&1 | tee log3

I'm not doing testing with the most recent Cygwin. Currently, I have configured
machines with Cygwin 2.6.1, 1.7.30, 1.5.25.

Bruno

Loading...