Subject: | make test fails on Cygwin |
Date: | Wed, 16 Aug 2006 09:17:19 +0200 |
To: | <bug-Device-SerialPort [...] rt.cpan.org> |
From: | "Löwis, Johannes" <Johannes.Loewis [...] levitec.de> |
The following report ist about 'make test' failing on Cygwin 1.5.19.
I have not done any tests with the most recent version of Cygwin.
I remember to have had similar problems with an older version
of Cygwin (1.5.16 IIRC).
The output of 'uname -a', 'perl -v', and 'gcc -v' is at the end of this mail.
Ignoring the failed 'make test' I did 'make install' and the module
appears to work (at least the functionality that I need).
~/SW-Downloads/Device-SerialPort-1.002$ make test
/usr/bin/perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/01timing....ok 1/7
# Failed test (t/01timing.t at line 33)
# then: 4075203 now: 4077343 diff: 2140
# Looks like you failed 1 test of 7.
t/01timing....dubious
Test returned status 1 (wstat 256, 0x100)
DIED. FAILED test 7
Failed 1/7 tests, 85.71% okay
t/test1.......ok 120/174make: *** [test_dynamic] Interrupt
----------------------------------------------------
after severals seconds of apparent inactivity I hit CTRL-C to
terminate the test. A second attempt to 'make test' stops
slightly different:
----------------------------------------------------
~/SW-Downloads/Device-SerialPort-1.002$ make test
/usr/bin/perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/01timing....ok 1/7
# Failed test (t/01timing.t at line 33)
# then: 4287140 now: 4289280 diff: 2140
# Looks like you failed 1 test of 7.
t/01timing....dubious
Test returned status 1 (wstat 256, 0x100)
DIED. FAILED test 7
Failed 1/7 tests, 85.71% okay
t/test1.......ok 102/174TIOCMBIC(21527) ioctl failed: Invalid argument at t/test1.t line 500
rts_active(0) ioctl: Invalid argument
TIOCMBIS(21526) ioctl failed: Invalid argument at t/test1.t line 502
rts_active(1) ioctl: Invalid argument
could not pulse rts on
t/test1.......NOK 122TIOCMBIC(21527) ioctl failed: Invalid argument at t/test1.t line 502
rts_active(0) ioctl: Invalid argument
could not restore from rts on
TIOCMBIS(21526) ioctl failed: Invalid argument at t/test1.t line 508
rts_active(1) ioctl: Invalid argument
TIOCMBIC(21527) ioctl failed: Invalid argument at t/test1.t line 510
rts_active(0) ioctl: Invalid argument
could not pulse rts off
t/test1.......NOK 125TIOCMBIS(21526) ioctl failed: Invalid argument at t/test1.t line 510
rts_active(1) ioctl: Invalid argument
could not restore from rts off
TIOCMBIC(21527) ioctl failed: Invalid argument at t/test1.t line 516
rts_active(0) ioctl: Invalid argument
t/test1.......NOK 128
----------------------------------------------------
Again, I hit CTRL-C to terminate the test.
Cygwin is running on a Windows 2000 computer:
~/SW-Downloads/Device-SerialPort-1.002$ uname -a
CYGWIN_NT-5.0 lev-0002 1.5.19(0.150/4/2) 2006-01-20 13:28 i686 Cygwin
~/SW-Downloads/Device-SerialPort-1.002$ perl -v
This is perl, v5.8.7 built for cygwin-thread-multi-64int
(with 1 registered patch, see perl -V for more detail)
Copyright 1987-2005, Larry Wall
Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.
Complete documentation for Perl, including FAQ lists, should be found on
this system using `man perl' or `perldoc perl'. If you have access to the
Internet, point your browser at http://www.perl.org/, the Perl Home Page.
~/SW-Downloads/Device-SerialPort-1.002$ gcc -v
Reading specs from /usr/lib/gcc/i686-pc-cygwin/3.4.4/specs
Configured with: /gcc/gcc-3.4.4/gcc-3.4.4-1/configure --verbose --prefix=/usr
--exec-prefix=/usr --s
ysconfdir=/etc --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man
--infodir=/usr/share/
info --enable-languages=c,ada,c++,d,f77,java,objc --enable-nls --without-included-gettext
--enable-v
ersion-specific-runtime-libs --without-x --enable-libgcj --disable-java-awt
--with-system-zlib --ena
ble-interpreter --disable-libgcj-debug --enable-threads=posix --enable-java-gc=boehm
--disable-win32
-registry --enable-sjlj-exceptions --enable-hash-synchronization --enable-libstdcxx-debug :
(reconfi
gured)
Thread model: posix
gcc version 3.4.4 (cygming special) (gdc 0.12, using dmd 0.125)
Regards
Johannes