Subject: | 10_Aligner.t test 101 requires colorstrip ? |
Text-Aligner-0.06
on RedHat EL5
Summary of my perl5 (revision 5 version 10 subversion 1) configuration:
Platform:
osname=linux, osvers=2.6.18-194.8.1.el5, archname=x86_64-linux
uname='linux kolanut.cc.uq.edu.au 2.6.18-194.8.1.el5 #1 smp wed jun 23 10:52:51 edt
2010 x86_64 x86_64 x86_64 gnulinux '
config_args='-des -Dprefix=/opt/perl/distro-5.10.1-20100912 -Dusethreads=n -
Uuseshrplib -Dinc_version_list=none -Dotherlibdirs=/opt/perl/site_perl:/opt/perl/other_perl
-Dcc=gcc -Doptimize=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -
fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -
Dlibpth=/usr/local/lib64 /lib64 /usr/lib64'
hint=recommended, useposix=true, d_sigaction=define
useithreads=undef, usemultiplicity=undef
useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
use64bitint=define, use64bitall=define, uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='gcc', ccflags ='-DDEBUGGING -fno-strict-aliasing -pipe -fstack-protector -
I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
optimize='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-
protector --param=ssp-buffer-size=4 -m64 -mtune=generic',
cppflags='-DDEBUGGING -fno-strict-aliasing -pipe -fstack-protector -
I/usr/local/include'
ccversion='', gccversion='4.1.2 20080704 (Red Hat 4.1.2-48)', gccosandvers=''
intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
ivtype='long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
alignbytes=8, prototype=define
Linker and Libraries:
ld='gcc', ldflags =' -fstack-protector'
libpth=/usr/local/lib64 /lib64 /usr/lib64
libs=-lnsl -ldb -ldl -lm -lcrypt -lutil -lc
perllibs=-lnsl -ldl -lm -lcrypt -lutil -lc
libc=/lib/libc-2.5.so, so=so, useshrplib=false, libperl=libperl.a
gnulibc_version='2.5'
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E'
cccdlflags='-fPIC', lddlflags='-shared -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -
fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic'
Characteristics of this binary (from libperl):
Compile-time options: DEBUGGING PERL_DONT_CREATE_GVSV PERL_MALLOC_WRAP
USE_64_BIT_ALL USE_64_BIT_INT USE_LARGE_FILES
USE_PERLIO
Built under linux
Compiled at Sep 11 2010 13:07:33
@INC:
/opt/perl/distro-5.10.1-20100912/lib/5.10.1/x86_64-linux
/opt/perl/distro-5.10.1-20100912/lib/5.10.1
/opt/perl/distro-5.10.1-20100912/lib/site_perl/5.10.1/x86_64-linux
/opt/perl/distro-5.10.1-20100912/lib/site_perl/5.10.1
/opt/perl/site_perl
/opt/perl/other_perl
.
I used CPANPLUS to build a local perl and this cycle
upgraded from 0.03 to 0.06 which resulted in
# Looks like you failed 1 test of 511.
t/10_Aligner.t .. Dubious, test returned 1 (wstat 256, 0x100)
soon narrowed down to test 101.
make test PASSed after adding '!'
ok(!Text::Aligner::_is_number(colored('123', 'red')));
given that last few test report
ok 506 # skip Term::ANSIColor 2.00 doesn't support colorstrip
I think 101 also needs to be made aware of that