This is about IO::All 0.13. My perl is Activestate's Perl 5.6.1 build 635. My platform is MSWin32 / Windows 2000, newest service pack, but no MSVC++ installed (which was used to compile the perl).
---
C:\DOKUME~1\ADMINI~1\Desktop\t\IO-All-0.13>perl -V
Summary of my perl5 (revision 5 version 6 subversion 1) configuration:
Platform:
osname=MSWin32, osvers=4.0, archname=MSWin32-x86-multi-thread
uname=''
config_args='undef'
hint=recommended, useposix=true, d_sigaction=undef
usethreads=undef use5005threads=undef useithreads=define usemultiplicity=def
ine
useperlio=undef d_sfio=undef uselargefiles=undef usesocks=undef
use64bitint=undef use64bitall=undef uselongdouble=undef
Compiler:
cc='cl', ccflags ='-nologo -O1 -MD -Zi -DNDEBUG -DWIN32 -D_CONSOLE [...]
---
The module build process fails. The autotie.t test makes perl dump core and several tests seem to rely on the order of hash items, but I may be wrong about the latter. The synopsis2.t tests rely on '/' being the directory/file separator which is not the case for win32 systems. (Neither is it for a bunch of other systems, so fixing this trivial bug should be worthwhile.) The core dump happens *after* the successful completion of the tests in autotie.t. Running those tests with STDOUT being printed to the terminal gives:
---
C:\DOKUME~1\ADMINI~1\Desktop\t\IO-All-0.13>prove -v -b t/autotie.t
t/autotie....1..5
ok 1
ok 2
ok 3
ok 4
ok 5
dubious
Test returned status 4 (wstat 1024, 0x400)
after all the subtests completed successfully
Failed Test Stat Wstat Total Fail Failed List of Failed
-------------------------------------------------------------------------------
t/autotie.t 4 1024 5 0 0.00% ??
Failed 1/1 test scripts, 0.00% okay. 0/5 subtests failed, 100.00% okay.
---
Below is a copy of the output generated during the normal build process:
---
C:\DOKUME~1\ADMINI~1\Desktop\t\IO-All-0.13>makefile
Checking if your kit is complete...
Looks good
Writing Makefile for IO::All
C:\DOKUME~1\ADMINI~1\Desktop\t\IO-All-0.13>nmake
Microsoft (R) Program Maintenance Utility Version 1.50
Copyright (c) Microsoft Corp 1988-94. All rights reserved.
cp lib/IO/All.pm blib\lib\IO\All.pm
C:\DOKUME~1\ADMINI~1\Desktop\t\IO-All-0.13>nmake test
Microsoft (R) Program Maintenance Utility Version 1.50
Copyright (c) Microsoft Corp 1988-94. All rights reserved.
C:\Perl56\bin\perl5.6.1.exe -Mblib -IC:\Perl56\lib -IC:\Perl56\lib -e "u
se Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;" t\autotie.
t t\backwards.t t\error1.t t\file_subclass.t t\inline_subclass.t t\lock.t t\prin
tln.t t\read.t t\read_write.t t\round_robin.t t\spiffy.t t\synopsis1.t t\synopsi
s2.t t\synopsis3.t t\synopsis4.t t\synopsis5.t
Using C:/DOKUME~1/ADMINI~1/Desktop/t/IO-All-0.13/blib
t\autotie............dubious
Test returned status 4 (wstat 1024, 0x400)
after all the subtests completed successfully
t\backwards..........ok
t\error1.............ok
t\file_subclass......NOK 4# Failed test (t/IO_All_Test.pm at line 20)
# got: '$VAR1 = {
# 'yellow' => 'circle',
# 'red' => 'square',
# 'pink' => 'triangle'
# };
# '
# expected: '$VAR1 = {
# 'pink' => 'triangle',
# 'red' => 'square',
# 'yellow' => 'circle'
# };
# '
t\file_subclass......ok 5/5# Looks like you failed 1 tests of 5.
t\file_subclass......dubious
Test returned status 1 (wstat 256, 0x100)
DIED. FAILED test 4
Failed 1/5 tests, 80.00% okay
t\inline_subclass....Name "Data::Dumper::Sortkeys" used only once: possible typo
at t\inline_subclass.t line 28.
t\inline_subclass....NOK 4# Failed test (t/IO_All_Test.pm at line 20)
# got: '$VAR1 = {
# 'yellow' => 'circle',
# 'red' => 'square',
# 'pink' => 'triangle'
# };
# '
# expected: '$VAR1 = {
# 'pink' => 'triangle',
# 'red' => 'square',
# 'yellow' => 'circle'
# };
# '
t\inline_subclass....ok 5/5# Looks like you failed 1 tests of 5.
t\inline_subclass....dubious
Test returned status 1 (wstat 256, 0x100)
DIED. FAILED test 4
Failed 1/5 tests, 80.00% okay
t\lock...............ok
t\println............ok
t\read...............ok
t\read_write.........ok
t\round_robin........ok
t\spiffy.............ok
t\synopsis1..........ok
t\synopsis2..........NOK 2# Failed test (t\synopsis2.t at line 13)
# got: 't\mydir\file1 - file1 is fun
# '
# expected: 't/mydir/file1 - file1 is fun
# '
t\synopsis2..........NOK 3# Failed test (t\synopsis2.t at line 13)
# got: 't\mydir\file2 - file2 is woohoo
# '
# expected: 't/mydir/file2 - file2 is woohoo
# '
t\synopsis2..........NOK 4# Failed test (t\synopsis2.t at line 13)
# got: 't\mydir\file3 - file3 is whee
# '
# expected: 't/mydir/file3 - file3 is whee
# '
# Looks like you failed 3 tests of 4.
t\synopsis2..........dubious
Test returned status 3 (wstat 768, 0x300)
DIED. FAILED tests 2-4
Failed 3/4 tests, 25.00% okay
t\synopsis3..........Can't find string terminator "'" anywhere before EOF at -e
line 1.
Use of uninitialized value in open at t/IO_All_Test.pm line 31.
Use of uninitialized value in concatenation (.) or string at t/IO_All_Test.pm li
ne 31.
Can't open for input:
# Looks like your test died before it could output anything.
t\synopsis3..........dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-3
Failed 3/3 tests, 0.00% okay
t\synopsis4..........skipped
all skipped: no tests for sockets yet
t\synopsis5..........ok
Failed Test Stat Wstat Total Fail Failed List of Failed
-------------------------------------------------------------------------------
t\autotie.t 4 1024 5 0 0.00% ??
t\file_subclass.t 1 256 5 1 20.00% 4
t\inline_subclass.t 1 256 5 1 20.00% 4
t\synopsis2.t 3 768 4 3 75.00% 2-4
t\synopsis3.t 255 65280 3 6 200.00% 1-3
1 test skipped.
Failed 5/16 test scripts, 68.75% okay. 8/59 subtests failed, 86.44% okay.
NMAKE : fatal error U1077: 'C:\WINNT\system32\cmd.exe' : return code '0xff'
Stop.
---