Subject: | PPI failing t/06_round_trip.t |
Test 06_round_trip.t is failing here. This appears to be because c<use Test::More ();> doesn't import the ok function from Test::More. Removal of the parens fixes this, and a patch to that effect is attached.
For reference, my perl -V:
Summary of my perl5 (revision 5 version 8 subversion 5) configuration:
Platform:
osname=darwin, osvers=7.4.0, archname=darwin-2level
uname='darwin david-h-adlers-computer.local 7.4.0 darwin kernel version 7.4.0: wed may 12 16:58:24 pdt 2004; root:xnuxnu-517.7.7.obj~7release_ppc power macintosh
powerpc '
config_args=''
hint=recommended, useposix=true, d_sigaction=define
usethreads=undef use5005threads=undef 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 -no-cpp-precomp -fno-strict-aliasing -pipe -I/usr/local/include',
optimize='-Os',
cppflags='-no-cpp-precomp -fno-common -DPERL_DARWIN -no-cpp-precomp -fno-strict-aliasing -pipe -I/usr/local/include'
ccversion='', gccversion='3.3 20030304 (Apple Computer, Inc. build 1640)', gccosandvers=''
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=8
alignbytes=8, prototype=define
Linker and Libraries:
ld='env MACOSX_DEPLOYMENT_TARGET=10.3 cc', ldflags =' -L/usr/local/lib'
libpth=/usr/local/lib /usr/lib
libs=-ldbm -ldl -lm -lc
perllibs=-ldl -lm -lc
libc=/usr/lib/libc.dylib, so=dylib, useshrplib=false, libperl=libperl.a
gnulibc_version=''
Dynamic Linking:
dlsrc=dl_dyld.xs, dlext=bundle, d_dlsymun=undef, ccdlflags=' '
cccdlflags=' ', lddlflags=' -bundle -undefined dynamic_lookup -L/usr/local/lib'
Characteristics of this binary (from libperl):
Compile-time options: USE_LARGE_FILES
Built under darwin
Compiled at Jul 26 2004 09:25:59
%ENV:
PERL5LIB="/Users/dha/mymodules"
@INC:
/Users/dha/mymodules
/usr/local/lib/perl5/5.8.5/darwin-2level
/usr/local/lib/perl5/5.8.5
/usr/local/lib/perl5/site_perl/5.8.5/darwin-2level
/usr/local/lib/perl5/site_perl/5.8.5
/usr/local/lib/perl5/site_perl
*** PPI-0.842/t/06_round_trip.t Tue Jan 11 20:47:13 2005
--- fixcpan/PPI-0.842/t/06_round_trip.t Thu Jan 13 00:01:52 2005
***************
*** 21,27 ****
use PPI;
use PPI::Lexer;
! use Test::More (); # Plan comes later
use File::Slurp ();
--- 21,27 ----
use PPI;
use PPI::Lexer;
! use Test::More; # Plan comes later
use File::Slurp ();