Subject: | parse_version.t fails 10/10 |
While trying to build EU::MM 6.21 on:
Linux brie.cshl.org 2.4.20-24.9smp #1 SMP Mon Dec 1 11:25:17 EST 2003 i686 i686 i386 GNU/Linux
With Perl
perl -V
Summary of my perl5 (revision 5.0 version 6 subversion 1) configuration:
Platform:
osname=linux, osvers=2.4.20-19.9smp, archname=i686-linux
uname='linux brie.cshl.org 2.4.20-19.9smp #1 smp tue jul 15 17:04:18 edt 2003 i686 i686 i386 gnulinux '
config_args=''
hint=recommended, useposix=true, d_sigaction=define
usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef
useperlio=undef d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=undef use64bitall=undef uselongdouble=undef
Compiler:
cc='cc', ccflags ='-fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
optimize='-O2',
cppflags='-fno-strict-aliasing -I/usr/local/include'
ccversion='', gccversion='3.2.2 20030222 (Red Hat Linux 3.2.2-5)', gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
alignbytes=4, usemymalloc=n, prototype=define
Linker and Libraries:
ld='cc', ldflags =' -L/usr/local/lib'
libpth=/usr/local/lib /lib /usr/lib
libs=-lnsl -lgdbm -ldb -ldl -lm -lc -lcrypt -lutil
perllibs=-lnsl -ldl -lm -lc -lcrypt -lutil
libc=/lib/libc-2.3.2.so, so=so, useshrplib=false, libperl=libperl.a
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic'
cccdlflags='-fpic', lddlflags='-shared -L/usr/local/lib'
Characteristics of this binary (from libperl):
Compile-time options: USE_LARGE_FILES
Built under linux
Compiled at Nov 20 2003 21:46:07
@INC:
/usr/local/lib/perl5/5.6.1/i686-linux
/usr/local/lib/perl5/5.6.1
/usr/local/lib/perl5/site_perl/5.6.1/i686-linux
/usr/local/lib/perl5/site_perl/5.6.1
/usr/local/lib/perl5/site_perl
.
All tests in "parse_version.t" fail:
[kclark@brie ExtUtils-MakeMaker-6.21]$ make test TEST_VERBOSE=1 TEST_FILES=t/parse_version.t
cp bin/instmodsh blib/script/instmodsh
/usr/bin/perl "-Ilib" "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/instmodsh
PERL_DL_NONLAZY=1 /usr/bin/perl "-Ilib" "-MExtUtils::Command::MM" "-e" "test_harness(1, 'blib/lib', 'blib/arch')" t/parse_version.t
t/parse_version.....ok 1 - $VERSION = -1.0
ok 2 - $_ not leaked by parse_version
ok 3 - $VERSION = 0.0
ok 4 - $_ not leaked by parse_version
ok 5 - $VERSION = 0.02
ok 6 - $_ not leaked by parse_version
ok 7 - $wibble = 1.0
ok 8 - $_ not leaked by parse_version
ok 9 - $VERSION = undef
ok 10 - $_ not leaked by parse_version
1..10
FAILED tests 1-10
Failed 10/10 tests, 0.00% okay
Failed Test Status Wstat Total Fail Failed List of Failed
--------------------------------------------------------------------------------
t/parse_version.t 10 10 100.00% 1-10
Failed 1/1 test scripts, 0.00% okay. 10/10 subtests failed, 0.00% okay.
make: *** [test_dynamic] Error 29
This seems really odd that each tests passes individually yet the test as a whole returns a failure. Changing 'no_plan' to 'tests => 10' seems to fix it.
ky