Subject: | Any test actually using smart comments fails |
The file built without errors, but the test suite just flew apart; there
are so many failed test, for so many reasons, that I presume the fault
lies with my system or my perl, so I'm just going to include my info
here, a snippet of failures, and append the output of perl -V; and then
hope you have any ideas.
Running under AIX 4.3.3 ML-11+Post, on a RS6K-42W (PPC-604e, 128MB ECC),
with perl 5.10.0, built with gcc-3.4.3, std-io, nothreads, nolargefiles
(and obviously no 64-bit).
PERL_DL_NONLAZY=1 /usr/local/etc/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00.load.t ................. 1/1 # Testing Smart::Comments 1.0.3
t/00.load.t ................. ok
t/assert.t .................. 1/?
# Failed test 'False assertion is loud'
# at t/assert.t line 30.
t/assert.t .................. 5/?
# Failed test 'False assertion is loudly correct'
# at t/assert.t line 31.
# got: ''
# expected: '
# ### $x < 0 was not true at FILE line 22.
# ### $x was: 0
# '
# Failed test 'False two-part assertion is loud'
# at t/assert.t line 58.
# Failed test 'False two-part assertion is loudly correct'
# at t/assert.t line 59.
# got: ''
# expected: '
# ### $y < $x was not true at FILE line 50.
# ### $y was: []
# ### $x was: 10
# '
# Looks like you failed 4 tests of 9.
t/assert.t .................. Dubious, test returned 4 (wstat 1024, 0x400)
Failed 4/9 subtests
The rest is more of the same (pod & pod coverage pass, FYI).
perl -V output:
Summary of my perl5 (revision 5 version 10 subversion 0) configuration:
Platform:
osname=aix, osvers=4.3.3.0, archname=aix-stdio
uname='aix rowena 3 4 000059419100 unknown unknown aix '
config_args='-Dcc=gcc -Dprefix=/usr/local -Dinstallusrbinperl
-DDEBUGGING -Uusethreads -Uuselargefiles'
hint=previous, useposix=true, d_sigaction=define
useithreads=undef, usemultiplicity=undef
useperlio=undef, d_sfio=undef, uselargefiles=undef, usesocks=undef
use64bitint=undef, use64bitall=undef, uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='gcc', ccflags ='-D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE
-DUSE_NATIVE_DLOPEN -DDEBUGGING -fno-strict-aliasing -pipe
-I/usr/local/include',
optimize='-O -g',
cppflags='-D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE
-DUSE_NATIVE_DLOPEN -DDEBUGGING -fno-strict-aliasing -pipe
-I/usr/local/include -D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE
-DUSE_NATIVE_DLOPEN -DDEBUGGING -fno-strict-aliasing -pipe
-I/usr/local/include -D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE
-DUSE_NATIVE_DLOPEN -DDEBUGGING -fno-strict-aliasing -pipe
-I/usr/local/include'
ccversion='', gccversion='3.4.3', gccosandvers='aix4.3.3.0'
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=8
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t',
lseeksize=4
alignbytes=8, prototype=define
Linker and Libraries:
ld='ld', ldflags =' -Wl,-brtl -L/usr/local/lib'
libpth=/usr/local/lib /lib /usr/lib /usr/ccs/lib
libs=-lbind -lnsl -lgdbm -ldbm -ldl -lld -lm -lcrypt -lc -lbsd
perllibs=-lbind -lnsl -ldl -lld -lm -lcrypt -lc -lbsd
libc=/usr/lib/libc.a, so=a, useshrplib=false, libperl=libperl.a
gnulibc_version=''
Dynamic Linking:
dlsrc=dl_aix.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Xlinker
-bE:/usr/local/lib/perl5/5.10.0/aix-stdio/CORE/perl.exp
-bE:/usr/local/lib/perl5/5.10.0/aix-stdio/CORE/perl.exp
-bE:/usr/local/lib/perl5/5.10.0/aix-stdio/CORE/perl.exp'
cccdlflags='-fpic', lddlflags=' -bhalt:4 -bexpall -G -bnoentry -lc
-L/usr/local/lib'
Characteristics of this binary (from libperl):
Compile-time options: DEBUGGING PERL_DONT_CREATE_GVSV
Built under aix
Compiled at Feb 25 2009 00:08:55
%ENV:
PERL="/usr/local/bin/perl"
@INC:
/usr/local/lib/perl5/5.10.0/aix-stdio
/usr/local/lib/perl5/5.10.0
/usr/local/lib/perl5/site_perl/5.10.0/aix-stdio
/usr/local/lib/perl5/site_perl/5.10.0
/usr/local/lib/perl5/site_perl
.