Subject: | t/vmethods/text.t: FAIL test #35: text.split.join d did not match expected |
Trying to install Template-Toolkit via the 'cpan' shell, compiling against Perl 5.18.0. 'make test' failed one test. Here is output of 'prove -vb':
#####
$ prove -vb t/vmethods/text.t
t/vmethods/text.t ..
1..107
ok 1 - running test_expect()
[snip]
ok 34 - text.split.join d processed OK: [% spaced.split(' ').join('_') %...
MATCH FAILED
input: [[% spaced.split(' ').join('_') %]\n]
expect: [__The_dog_sat_on_the_log]
output: [The_dog_sat_on_the_log]
FAILED 35: - text.split.join d did not match expected
not ok 35 - text.split.join d did not match expected
ok 36 - text.list processed OK: [% string.list.join %]
[snip]
ok 107 - template text 52 matched expected
Failed 1/107 subtests
Test Summary Report
-------------------
t/vmethods/text.t (Wstat: 0 Tests: 107 Failed: 1)
Failed test: 35
Files=1, Tests=107, 2 wallclock secs ( 0.24 usr 0.07 sys + 0.60 cusr 0.09 csys = 1.00 CPU)
Result: FAIL
#####
$ perl -V
Summary of my perl5 (revision 5 version 18 subversion 0) configuration:
Platform:
osname=darwin, osvers=8.11.0, archname=darwin-2level
uname='darwin macintosh-9.local 8.11.0 darwin kernel version 8.11.0: wed oct 10 18:26:00 pdt 2007; root:xnu-792.24.17~1release_ppc power macintosh powerpc '
config_args='-des'
hint=recommended, useposix=true, d_sigaction=define
useithreads=undef, usemultiplicity=undef
useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
use64bitint=undef, use64bitall=undef, uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='cc', ccflags ='-fno-common -DPERL_DARWIN -fno-strict-aliasing -pipe -I/usr/local/include -I/opt/local/include',
optimize='-O3',
cppflags='-fno-common -DPERL_DARWIN -fno-strict-aliasing -pipe -I/usr/local/include -I/opt/local/include'
ccversion='', gccversion='4.0.1 (Apple Computer, Inc. build 5250)', gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
alignbytes=8, prototype=define
Linker and Libraries:
ld='env MACOSX_DEPLOYMENT_TARGET=10.3 cc', ldflags =' -L/usr/local/lib -L/opt/local/lib'
libpth=/usr/local/lib /opt/local/lib /usr/lib
libs=-ldbm -ldl -lm -lc
perllibs=-ldl -lm -lc
libc=, so=dylib, useshrplib=false, libperl=libperl.a
gnulibc_version=''
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=bundle, d_dlsymun=undef, ccdlflags=' '
cccdlflags=' ', lddlflags=' -bundle -undefined dynamic_lookup -L/usr/local/lib -L/opt/local/lib'
Characteristics of this binary (from libperl):
Compile-time options: HAS_TIMES PERLIO_LAYERS PERL_DONT_CREATE_GVSV
PERL_HASH_FUNC_ONE_AT_A_TIME_HARD PERL_MALLOC_WRAP
PERL_PRESERVE_IVUV PERL_SAWAMPERSAND USE_LARGE_FILES
USE_LOCALE USE_LOCALE_COLLATE USE_LOCALE_CTYPE
USE_LOCALE_NUMERIC USE_PERLIO USE_PERL_ATOF
Built under darwin
Compiled at May 18 2013 12:31:26
%ENV:
PERLBREW_BASHRC_VERSION="0.59"
PERLBREW_HOME="/Users/jimk/.perlbrew"
PERLBREW_ROOT="/Users/jimk/perl5/perlbrew"
@INC:
/usr/local/lib/perl5/site_perl/5.18.0/darwin-2level
/usr/local/lib/perl5/site_perl/5.18.0
/usr/local/lib/perl5/5.18.0/darwin-2level
/usr/local/lib/perl5/5.18.0
/usr/local/lib/perl5/site_perl/5.16.0
/usr/local/lib/perl5/site_perl/5.14.2
/usr/local/lib/perl5/site_perl/5.14.0
/usr/local/lib/perl5/site_perl/5.12.0
/usr/local/lib/perl5/site_perl/5.10.1
/usr/local/lib/perl5/site_perl/5.10.0
/usr/local/lib/perl5/site_perl/5.8.6
/usr/local/lib/perl5/site_perl
.
#####
I hope that you can recommend a fix for this, as Template-Toolkit is a prerequisite for certain uses of Devel-Cover.
Thank you very much.
Jim Keenan