Subject: | t/01-basic.t fails despite passing all subtests |
Today I called 'cpanm DateTime' in order to make sure I had the latest version of that library. See attached file for relevant Perl version.
DateTime failed to install, and the output indicated that List::AllUtils had failed to install. I then called 'cpanm List::AllUtils' and again got a failure.
Switching to '/Users/jkeenan/.cpanm/latest-build/List-AllUtils-0.09', I then ran 'prove' and got this output:
#####
$ prove -vb t/01-basic.t
t/01-basic.t ..
ok 1 - no exports by default
ok 2 - explicitly import first
ok 3 - explicitly import any
ok 4 - explicitly import apply
ok 5 - did not import all
ok 6 - Bar::test_first returns expected value
All 6 subtests passed
Test Summary Report
-------------------
t/01-basic.t (Wstat: 11 Tests: 6 Failed: 0)
Non-zero wait status: 11
Parse errors: No plan found in TAP output
Files=1, Tests=6, 0 wallclock secs ( 0.03 usr 0.00 sys + 0.02 cusr 0.00 csys = 0.05 CPU)
Result: FAIL
#####
It's not clear to me why I should get "No plan found in TAP output" when the test file clearly ends with 'done_testing()'.
Can you clarify?
Thank you very much.
Jim Keenan
Subject: | perl_V.txt |
Summary of my perl5 (revision 5 version 20 subversion 1) configuration:
Platform:
osname=darwin, osvers=13.2.0, archname=darwin-2level
uname='darwin mm-mac-2776.local 13.2.0 darwin kernel version 13.2.0: thu apr 17 23:03:13 pdt 2014; root:xnu-2422.100.13~1release_x86_64 x86_64 '
config_args='-de -Dprefix=/Users/jkeenan/perl5/perlbrew/perls/perl-5.20.1 -Aeval:scriptdir=/Users/jkeenan/perl5/perlbrew/perls/perl-5.20.1/bin'
hint=recommended, useposix=true, d_sigaction=define
useithreads=undef, usemultiplicity=undef
use64bitint=define, use64bitall=define, uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='cc', ccflags ='-fno-common -DPERL_DARWIN -fno-strict-aliasing -pipe -fstack-protector',
optimize='-O3',
cppflags='-fno-common -DPERL_DARWIN -fno-strict-aliasing -pipe -fstack-protector'
ccversion='', gccversion='4.2.1 Compatible Apple LLVM 6.0 (clang-600.0.54)', 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='env MACOSX_DEPLOYMENT_TARGET=10.3 cc', ldflags =' -fstack-protector'
libpth=/Library/Developer/CommandLineTools/usr/bin/../lib/clang/6.0/lib /Library/Developer/CommandLineTools/usr/lib /usr/lib
libs=-ldbm -ldl -lm -lutil -lc
perllibs=-ldl -lm -lutil -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 -fstack-protector'
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_NEW_COPY_ON_WRITE PERL_PRESERVE_IVUV
USE_64_BIT_ALL USE_64_BIT_INT USE_LARGE_FILES
USE_LOCALE USE_LOCALE_COLLATE USE_LOCALE_CTYPE
USE_LOCALE_NUMERIC USE_PERLIO USE_PERL_ATOF
Built under darwin
Compiled at Oct 28 2014 11:36:37
%ENV:
PERL5DIR="/Users/jkeenan/gitwork/perl"
PERL5LIB="/Users/jkeenan/adama/extlib/lib/perl5/darwin-2level:/Users/jkeenan/adama/extlib/lib/perl5"
PERLBREW_BASHRC_VERSION="0.71"
PERLBREW_HOME="/Users/jkeenan/.perlbrew"
PERLBREW_MANPATH="/Users/jkeenan/perl5/perlbrew/perls/perl-5.20.1/man"
PERLBREW_PATH="/Users/jkeenan/perl5/perlbrew/bin:/Users/jkeenan/perl5/perlbrew/perls/perl-5.20.1/bin"
PERLBREW_PERL="perl-5.20.1"
PERLBREW_ROOT="/Users/jkeenan/perl5/perlbrew"
PERLBREW_VERSION="0.71"
PERL_LOCAL_LIB_ROOT="/Users/jkeenan/adama/extlib"
PERL_MB_OPT="--install_base /Users/jkeenan/adama/extlib"
PERL_MM_OPT="INSTALL_BASE=/Users/jkeenan/adama/extlib"
PERL_WORKDIR="gitwork/perl"
@INC:
/Users/jkeenan/adama/extlib/lib/perl5/darwin-2level
/Users/jkeenan/adama/extlib/lib/perl5/darwin-2level
/Users/jkeenan/adama/extlib/lib/perl5
/Users/jkeenan/perl5/perlbrew/perls/perl-5.20.1/lib/site_perl/5.20.1/darwin-2level
/Users/jkeenan/perl5/perlbrew/perls/perl-5.20.1/lib/site_perl/5.20.1
/Users/jkeenan/perl5/perlbrew/perls/perl-5.20.1/lib/5.20.1/darwin-2level
/Users/jkeenan/perl5/perlbrew/perls/perl-5.20.1/lib/5.20.1
.