Subject: | tests fail on Cygwin |
Date: | Sat, 15 Oct 2011 14:45:42 -0400 |
To: | bug-IO-Async [...] rt.cpan.org |
From: | Rafael Kitover <rkitover [...] cpan.org> |
here's the output of make test:
/usr/bin/perl.exe Build --makefile_env_macros 1 test
t/00use.t .................... ok
t/01timequeue.t .............. ok
t/02loop-magic.t ............. ok
t/03loop-osabstract.t ........ ok
t/04notifier.t ............... ok
t/05notifier-child.t ......... ok
t/06notifier-mixin.t ......... ok
t/10loop-poll-io.t ........... ok
# Failed test 'exceptional socket invokes on_read_ready'
# at
/c/Users/rkitover/.cpan/build/IO-Async-0.44-gjq9KX/blib/lib/IO/Async/LoopTests.pm
line 342.
# got: '0'
# expected: '1'
# Looks like you failed 1 test of 20.
t/10loop-select-io.t .........
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/20 subtests
(less 3 skipped subtests: 16 okay)
# Failed test 'Other timers still fire after self-cancelling one'
# at
/c/Users/rkitover/.cpan/build/IO-Async-0.44-gjq9KX/blib/lib/IO/Async/LoopTests.pm
line 458.
# got: undef
# expected: '1'
# Looks like you failed 1 test of 15.
t/11loop-poll-timer.t ........
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/15 subtests
# Failed test 'Other timers still fire after self-cancelling one'
# at
/c/Users/rkitover/.cpan/build/IO-Async-0.44-gjq9KX/blib/lib/IO/Async/LoopTests.pm
line 458.
# got: undef
# expected: '1'
# Looks like you failed 1 test of 15.
t/11loop-select-timer.t ......
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/15 subtests
t/12loop-poll-signal.t ....... ok
t/12loop-select-signal.t ..... ok
t/13loop-poll-idle.t ......... ok
t/13loop-select-idle.t ....... ok
t/14loop-poll-child.t ........ ok
t/14loop-select-child.t ...... ok
t/15loop-poll-control.t ...... ok
t/15loop-select-control.t .... ok
t/18loop-poll-legacy.t ....... ok
t/18loop-select-legacy.t ..... ok
t/19test.t ................... ok
# Failed test 'syswrite into EOF read handle'
# at t/20handle.t line 273.
# got: '5'
# expected: undef
# Looks like you failed 1 test of 72.
t/20handle.t .................
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/72 subtests
Can't locate object method "binmode" via package "IO::Handle" at
t/21stream-1read.t line 383.
# Looks like you planned 54 tests but ran 53.
# Looks like your test exited with 104 just after 53.
t/21stream-1read.t ...........
Dubious, test returned 104 (wstat 26624, 0x6800)
Failed 1/54 subtests
t/21stream-2write.t .......... ok
Can't locate object method "binmode" via package "IO::Handle" at
t/21stream-3split.t line 179.
# Looks like you planned 21 tests but ran 19.
# Looks like your test exited with 9 just after 19.
t/21stream-3split.t ..........
Dubious, test returned 9 (wstat 2304, 0x900)
Failed 2/21 subtests
t/21stream-4encoding.t ....... ok
t/22timer-absolute.t ......... ok
t/22timer-countdown.t ........ ok
t/22timer-periodic.t ......... ok
t/23signal.t ................. ok
t/24listener.t ............... ok
t/25socket.t ................. ok
t/26pid.t .................... ok
t/27filestream.t ............. ok
t/30loop-fork.t .............. ok
t/31loop-spawnchild.t ........ ok
t/32loop-spawnchild-setup.t .. ok
t/33process.t ................ ok
t/34process-handles.t ........ ok
t/35loop-openchild.t ......... ok
t/36loop-runchild.t .......... ok
t/37loop-child-root.t ........ skipped: not root
SIGCHLD handler "DEFAULT" not defined.
t/41detachedcode-call.t ...... ok
t/41function.t ............... ok
t/50resolver.t ............... ok
# Failed test '$failerr is 'Connection refused''
# at t/51loop-connect.t line 192.
# got: 'Operation not permitted'
# expected: 'Connection refused'
# Failed test '$error[1] is 'Connection refused''
# at t/51loop-connect.t line 195.
# got: 'Operation not permitted'
# expected: 'Connection refused'
# Looks like you failed 2 tests of 16.
t/51loop-connect.t ...........
Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/16 subtests
t/52loop-listen.t ............ ok
t/53loop-extend.t ............ ok
t/60protocol.t ............... ok
t/60sequencer-client.t ....... ok
t/60sequencer-server.t ....... ok
t/61protocol-stream.t ........ ok
t/62protocol-linestream.t .... ok
t/99pod.t .................... ok
Test Summary Report
-------------------
t/10loop-select-io.t (Wstat: 256 Tests: 20 Failed: 1)
Failed test: 17
Non-zero exit status: 1
t/11loop-poll-timer.t (Wstat: 256 Tests: 15 Failed: 1)
Failed test: 14
Non-zero exit status: 1
t/11loop-select-timer.t (Wstat: 256 Tests: 15 Failed: 1)
Failed test: 14
Non-zero exit status: 1
t/20handle.t (Wstat: 256 Tests: 72 Failed: 1)
Failed test: 52
Non-zero exit status: 1
t/21stream-1read.t (Wstat: 26624 Tests: 53 Failed: 0)
Non-zero exit status: 104
Parse errors: Bad plan. You planned 54 tests but ran 53.
t/21stream-3split.t (Wstat: 2304 Tests: 19 Failed: 0)
Non-zero exit status: 9
Parse errors: Bad plan. You planned 21 tests but ran 19.
t/51loop-connect.t (Wstat: 512 Tests: 16 Failed: 2)
Failed tests: 14, 16
Non-zero exit status: 2
Files=55, Tests=1361, 168 wallclock secs ( 1.67 usr 1.04 sys + 39.34
cusr 39.17 csys = 81.22 CPU)
Result: FAIL
Failed 7/55 test programs. 6/1361 subtests failed.
make: *** [test] Error 255