Skip Menu |

This queue is for tickets about the CPAN-Mini-Webserver CPAN distribution.

Report information
The Basics
Id: 47499
Status: resolved
Priority: 0/
Queue: CPAN-Mini-Webserver

People
Owner: Nobody in particular
Requestors: joakim.lagerqvist [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: doesn't pass the tests
Date: Wed, 1 Jul 2009 22:50:40 -0500
To: bug-CPAN-Mini-Webserver [...] rt.cpan.org
From: Joakim Lagerqvist <joakim.lagerqvist [...] gmail.com>
Hello, I have tried to install CPAN::Mini::Webserver but it does not pass the tests. Below is the output of the errors as well as my Perl version (perl -V), let me know if there is anything I can help with: ERL_DL_NONLAZY=1 /usr/local/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/pod.t ..... ok t/simple.t .. 1/47 # Failed test 'html page from '/'' # at t/simple.t line 25. # 'HTTP/1.0 500 # Content-Type: text/html; charset=utf-8 # # <h1>Internal Server Error</h1>Can't call method &quot;pauseid&quot; on an undefined value at /Users/jokke/Downloads/CPAN-Mini-Webserver-0.45/blib/lib/CPAN/Mini/Webserver/Templates.pm line 65. # ' # doesn't match '(?-xism:<html)' # when checking page had a html tag in it Use of uninitialized value $this in pattern match (m//) at t/simple.t line 27. # Failed test at t/simple.t line 27. # undef # doesn't match '(?-xism:Index)' Use of uninitialized value $this in pattern match (m//) at t/simple.t line 28. # Failed test at t/simple.t line 28. # undef # doesn't match '(?-xism:Welcome to CPAN::Mini::Webserver)' t/simple.t .. 37/47 # Looks like you failed 3 tests of 47. t/simple.t .. Dubious, test returned 3 (wstat 768, 0x300) Failed 3/47 subtests Test Summary Report ------------------- t/simple.t (Wstat: 768 Tests: 47 Failed: 3) Failed tests: 1-3 Non-zero exit status: 3 Files=2, Tests=53, 6 wallclock secs ( 0.03 usr 0.01 sys + 5.71 cusr 0.28 csys = 6.03 CPU) Result: FAIL Failed 1/2 test programs. 3/53 subtests failed. make: *** [test_dynamic] Error 3 $ perl -V Summary of my perl5 (revision 5 version 10 subversion 0) configuration: Platform: osname=darwin, osvers=9.7.0, archname=darwin-thread-multi-2level uname='darwin mbp.local 9.7.0 darwin kernel version 9.7.0: tue mar 31 22:52:17 pdt 2009; root:xnu-1228.12.14~1release_i386 i386 ' config_args='' hint=previous, 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='cc', ccflags ='-fno-common -DPERL_DARWIN -no-cpp-precomp -fno-strict-aliasing -pipe -I/usr/local/include -I/opt/local/include', optimize='-O3', cppflags='-no-cpp-precomp -fno-common -DPERL_DARWIN -no-cpp-precomp -fno-strict-aliasing -pipe -I/usr/local/include -I/opt/local/include -fno-common -DPERL_DARWIN -no-cpp-precomp -fno-strict-aliasing -pipe -I/usr/local/include -I/opt/local/include' ccversion='', gccversion='4.0.1 (Apple Inc. build 5490)', gccosandvers='' intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234 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=-lgdbm -ldbm -ldl -lm -lutil -lc perllibs=-ldl -lm -lutil -lc libc=/usr/lib/libc.dylib, 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: MULTIPLICITY PERL_DONT_CREATE_GVSV PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP USE_ITHREADS USE_LARGE_FILES USE_PERLIO Built under darwin Compiled at Jun 28 2009 17:49:35 @INC: /usr/local/lib/perl5/5.10.0/darwin-thread-multi-2level /usr/local/lib/perl5/5.10.0 /usr/local/lib/perl5/site_perl/5.10.0/darwin-thread-multi-2level /usr/local/lib/perl5/site_perl/5.10.0 . -- Joakim Lagerqvist
According to cpantester results so far, CMI should be fine to run on most OSes now.