Subject: | Test::Output-0.13 fails testing without Test::Tester 0.107 |
Date: | Tue, 05 May 2009 17:05:09 +0200 |
To: | bug-Test-Output [...] rt.cpan.org |
From: | Robin Smidsrød <robin [...] smidsrod.no> |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Explicitly installing Test::Tester 0.107 and rerunning the build fixes
the problem.
Parts of the test suite shown below:
# Testing Test::Output 0.13
# Failed test 'Test 'STDOUT matches success' completed'
# at t/combined_is.t line 16.
# Can't use string ("Test::Tester::Capture") as a HASH ref while "strict
refs" in use at /usr/local/share/perl/5.8.8/Test/Builder.pm
line 1689.
# Failed test 'Test 'STDOUT matches success' result count'
# at t/combined_is.t line 16.
# got: 0
# expected: 1
# Failed test 'subtest '' of 'STDOUT matches success' compare ok'
# at t/combined_is.t line 16.
# got: undef
# expected: '1'
# Failed test 'subtest '' of 'STDOUT matches success' compare name'
# at t/combined_is.t line 16.
# got: undef
# expected: 'Testing STDOUT'
# Failed test 'checking depth'
# at t/combined_is.t line 16.
# got: undef
# expected: '1'
# You need to change $Test::Builder::Level
# Failed test 'Test 'STDERR matches success' completed'
# at t/combined_is.t line 30.
# Can't use string ("Test::Tester::Capture") as a HASH ref while "strict
refs" in use at /usr/local/share/perl/5.8.8/Test/Builder.pm
line 1689.
# Failed test 'Test 'STDERR matches success' result count'
# at t/combined_is.t line 30.
# got: 0
# expected: 1
# Failed test 'subtest '' of 'STDERR matches success' compare ok'
# at t/combined_is.t line 30.
# got: undef
# expected: '1'
# Failed test 'subtest '' of 'STDERR matches success' compare name'
# at t/combined_is.t line 30.
# got: undef
# expected: 'Testing STDERR'
# Failed test 'checking depth'
Perl version:
Summary of my perl5 (revision 5 version 8 subversion 8) configuration:
Platform:
osname=linux, osvers=2.6.24-19-server,
archname=i486-linux-gnu-thread-multi
uname='linux palmer 2.6.24-19-server #1 smp sat jul 12 00:40:01 utc
2008 i686 gnulinux '
config_args='-Dusethreads -Duselargefiles -Dccflags=-DDEBIAN
- -Dcccdlflags=-fPIC -Darchname=i486-linux-gnu -Dprefix=/usr -Dprivli
b=/usr/share/perl/5.8
- -Darchlib=/usr/lib/perl/5.8 -Dvendorprefix=/usr
- -Dvendorlib=/usr/share/perl5 -Dvendorarch=/usr/lib/perl5 -Dsit
eprefix=/usr/local
- -Dsitelib=/usr/local/share/perl/5.8.8
- -Dsitearch=/usr/local/lib/perl/5.8.8 -Dman1dir=/usr/share/man/man1
- -Dman3di r=/usr/share/man/man3
- -Dsiteman1dir=/usr/local/man/man1 -Dsiteman3dir=/usr/local/man/man3
- -Dman1ext=1 -Dman3ext=3perl -Dpager=/usr/b
in/sensible-pager -Uafs -Ud_csh -Ud_ualarm -Uusesfio -Uusenm
- -Duseshrplib -Dlibperl=libperl.so.5.8.8 -Dd_dosuid -des'
hint=recommended, useposix=true, d_sigaction=define
usethreads=define use5005threads=undef useithreads=define
usemultiplicity=define
useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=undef use64bitall=undef uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='cc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS
- -DDEBIAN -fno-strict-aliasing -pipe -I/usr/local/include -D_LA
RGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
optimize='-O2',
cppflags='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBIAN
- -fno-strict-aliasing -pipe -I/usr/local/include'
ccversion='', gccversion='4.2.3 (Ubuntu 4.2.3-2ubuntu7)',
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, prototype=define
Linker and Libraries:
ld='cc', ldflags =' -L/usr/local/lib'
libpth=/usr/local/lib /lib /usr/lib
libs=-lgdbm -lgdbm_compat -ldb -ldl -lm -lpthread -lc -lcrypt
perllibs=-ldl -lm -lpthread -lc -lcrypt
libc=/lib/libc-2.7.so, so=so, useshrplib=true, libperl=libperl.so.5.8.8
gnulibc_version='2.7'
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E'
cccdlflags='-fPIC', lddlflags='-shared -L/usr/local/lib'
Characteristics of this binary (from libperl):
Compile-time options: MULTIPLICITY PERL_IMPLICIT_CONTEXT
PERL_MALLOC_WRAP THREADS_HAVE_PIDS USE_ITHREADS
USE_LARGE_FILES USE_PERLIO USE_REENTRANT_API
Built under linux
Compiled at Jan 14 2009 22:34:36
%ENV:
PERL5LIB="/home/portfolio/portfolio/lib:/home/portfolio/perl5/lib/perl5"
PERL_MM_OPT="INSTALL_BASE=/home/portfolio/perl5"
@INC:
/home/portfolio/portfolio/lib
/home/portfolio/perl5/lib/perl5/i486-linux-gnu-thread-multi
/home/portfolio/perl5/lib/perl5
/etc/perl
/usr/local/lib/perl/5.8.8
/usr/local/share/perl/5.8.8
/usr/lib/perl5
/usr/share/perl5
/usr/lib/perl/5.8
/usr/share/perl/5.8
/usr/local/lib/site_perl
/usr/local/lib/perl/5.8.7
/usr/local/share/perl/5.8.7
.
$ uname -a
Linux gm 2.6.24-23-generic #1 SMP Mon Jan 26 00:13:11 UTC 2009 i686
GNU/Linux
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 8.04.2
Release: 8.04
Codename: hardy
- -- Robin
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkoAVaUACgkQHAwEVD/in26zRQCfXRPiBCDXa+kR2IYEJ4DenspH
vLIAn3xwraJ/77pNyPEdZM34X2kq79Ao
=lIjD
-----END PGP SIGNATURE-----