Subject: | Test::TempDir-0.14 fails tests |
Date: | Tue, 07 Jul 2009 06:14:31 -0500 |
To: | bug-Test-TempDir [...] rt.cpan.org |
From: | David Favor <david [...] davidfavor.com> |
This is probably because of changes in Test::More
Show quoted text
_______
net2#make
cp lib/Test/TempDir/Factory.pm blib/lib/Test/TempDir/Factory.pm
cp lib/Test/TempDir/Handle.pm blib/lib/Test/TempDir/Handle.pm
cp lib/Test/TempDir.pm blib/lib/Test/TempDir.pm
Manifying blib/man3/Test::TempDir::Factory.3pm
Manifying blib/man3/Test::TempDir::Handle.3pm
Manifying blib/man3/Test::TempDir.3pm
net2#make test
PERL_DL_NONLAZY=1 /runtime/perl-5.10.0-1531/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0,
'blib/lib', 'blib/arch')" t/*.t
t/00_load.t .. ok
t/basic.t .... 1/? Cannot delegate new_handle to new because the value of handle_class is not an
object (got 'Test::TempDir::Handle') at
/build/work/Test-TempDir-0.04/blib/lib/Test/TempDir/Factory.pm line 91
Test::TempDir::Factory::create('Test::TempDir::Factory=HASH(0x8b962e8)') called at
/build/work/Test-TempDir-0.04/blib/lib/Test/TempDir.pm line 24
Test::TempDir::_dir() called at /build/work/Test-TempDir-0.04/blib/lib/Test/TempDir.pm line 28
Test::TempDir::temp_root() called at t/basic.t line 16
# Looks like your test exited with 2 just after 1.
t/basic.t .... Dubious, test returned 2 (wstat 512, 0x200)
All 1 subtests passed
t/factory.t .. 1/? Cannot delegate new_handle to new because the value of handle_class is not an
object (got 'Test::TempDir::Handle') at
/build/work/Test-TempDir-0.04/blib/lib/Test/TempDir/Factory.pm line 91
Test::TempDir::Factory::create('Test::TempDir::Factory=HASH(0x97d6630)') called at t/factory.t line 76
# Looks like your test exited with 2 just after 16.
t/factory.t .. Dubious, test returned 2 (wstat 512, 0x200)
All 16 subtests passed
t/handle.t ... ok
Test Summary Report
-------------------
t/basic.t (Wstat: 512 Tests: 1 Failed: 0)
Non-zero exit status: 2
t/factory.t (Wstat: 512 Tests: 16 Failed: 0)
Non-zero exit status: 2
Files=4, Tests=33, 2 wallclock secs ( 0.05 usr 0.01 sys + 2.10 cusr 0.11 csys = 2.27 CPU)
Result: FAIL
Failed 2/4 test programs. 0/33 subtests failed.
make: *** [test_dynamic] Error 255
_______
net2#perldetail
System : Linux 2.6.27.21-170.2.56.fc10.i686
perl : /runtime/perl-5.10.0-1531/bin/perl (5.10.0)
Linux::Inotify2 : 1.2
DBI : 1.609
DBD::SQLite : 1.25
SQLite::DBMS : 3.6.13
Danga::Socket : 1.61 w/epoll
EV : 3.6
AnyEvent : 4.8
AnyEvent::HTTPD : 0.5
Coro : 5.151
Sys::Syscall : 0.22
IO::Compress::Bzip2 : 2.020
IO::Compress::Base : 2.020
version : 0.77
Class::MOP : 0.89
Template : 2.21
Test::Simple : 0.92
Test::More : 0.92
Test::Unit::Lite : 0.12
Test::Builder::Tester : 1.18
Pod::Simple : 3.07
Pod::Man : 2.22
Sys::Syslog : 0.27
LWP::UserAgent : 5.827
WWW::Mechanize : 1.54
Proc::NiceSleep : 0.85
Sub::Identify : 0.04
_______
net2#perl -V
Summary of my perl5 (revision 5 version 10 subversion 0) configuration:
Commit id: a5f97a6fb2c6c5d04afcf3f9eaa92776ee947e44
Platform:
osname=linux, osvers=2.6.27.21-170.2.56.fc10.i686, archname=i686-linux-thread-multi
uname='linux net2.coolsurf.com 2.6.27.21-170.2.56.fc10.i686 #1 smp mon mar 23 23:37:54 edt 2009
i686 i686 i386 gnulinux '
config_args='-Dprefix=/runtime/perl-5.10.0-1531 -ders -Dusedevel -Dcf_by=David Favor
-Dcf_email=david@davidfavor.com -Dperladmin=david@davidfavor.com -Dcc=gcc -Doptimize=-O2 -pipe -Wall
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -m32 -fstack-protector -mtune=generic
-Dloclibpth=/usr/local/lib -Dlocincpth=/usr/local/include -Duseshrplib -Dusethreads -Uuseithreads
-Duselargefiles -Dd_dosuid -Dd_semctl_semun
-Dotherlibdirs=/runtime/pmlib:/common/pmlib:/usr/local/pmlib -Ui_db -Ui_ndbm -Di_gdbm -Di_shadow
-Di_syslog -Dman3ext=3pm -Duseperlio -Dinstallusrbinperl=n -Ubincompat5005 -Uversiononly
-Dpager=/usr/bin/less -Dd_gethostent_r_proto -Ud_endhostent_r_proto -Ud_sethostent_r_proto
-Ud_endprotoent_r_proto -Ud_setprotoent_r_proto -Ud_endservent_r_proto -Ud_setservent_r_proto'
hint=recommended, useposix=true, d_sigaction=define
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='gcc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
optimize='-O2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -m32
-fstack-protector -mtune=generic ',
cppflags='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector
-I/usr/local/include'
ccversion='', gccversion='4.3.2 20081105 (Red Hat 4.3.2-7)', 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='gcc', ldflags =' -fstack-protector -L/usr/local/lib'
libpth=/usr/local/lib /lib /usr/lib
libs=-lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lpthread -lc
perllibs=-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc
libc=/lib/libc-2.9.so, so=so, useshrplib=true, libperl=libperl.so
gnulibc_version='2.9'
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E
-Wl,-rpath,/runtime/perl-5.10.0-1531/lib/5.10.0/i686-linux-thread-multi/CORE'
cccdlflags='-fPIC', lddlflags='-shared -O2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
--param=ssp-buffer-size=4 -m32 -fstack-protector -mtune=generic -L/usr/local/lib'
Characteristics of this binary (from libperl):
Compile-time options: MULTIPLICITY PERL_DONT_CREATE_GVSV
PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP PERL_USE_DEVEL
USE_ITHREADS USE_LARGE_FILES USE_PERLIO
USE_REENTRANT_API
Built under linux
Compiled at Jul 6 2009 17:05:54
@INC:
/runtime/perl-5.10.0-1531/lib/5.10.0/i686-linux-thread-multi
/runtime/perl-5.10.0-1531/lib/5.10.0
/runtime/perl-5.10.0-1531/lib/site_perl/5.10.0/i686-linux-thread-multi
/runtime/perl-5.10.0-1531/lib/site_perl/5.10.0
/runtime/pmlib
/common/pmlib
/usr/local/pmlib
.
--
Love feeling your best ever, all day, every day?
Click http://RadicalHealth.com/join for the easy way.