Thanks for the info, Shawn. I tried to install Test::Warn and for some reason I've got 'make test' error (again) Any suggestions?
t/carped...........NOK 2# Faile\ d test 'Warnings and Carpings mixed, asked only for like carpings' # in t/carped.t at line 38. # STDERR is: # ^[[30m^[[42m# ^[[30m^[[41mFailed test in t/carped.t at line 37.^[[0m # ^[[30m^[[41m# found warning: Warning 1 at t/carped.t line 13.^[[0m # ^[[30m^[[41m# found carped warning: Carping 2 at t/carped.t line 14^[[0m # ^[[30m^[[41m# found carped warning: Carping 3 at t/carped.t line 15^[[0m # ^[[30m^[[41m# found warning: Warning 4 at t/carped.t line 16.^[[0m # ^[[30m^[[41m# expected to find carped warning: (?-xism:1)^[[0m # ^[[30m^[[41m# expected to find carped warning: (?-xism:2)^[[0m # ^[[30m^[[41m# expected to find carped warning: (?-xism:3)^[[0m # ^[[30m^[[41m# expected to find carped warning: (?-xism:4)^[[0m # ^[[30m^[[41m^[[0m # not: # ^[[30m^[[42m# ^[[30m^[[41m Failed test (t/carped.t at line 37)^[[0m # ^[[30m^[[41m# found warning: Warning 1 at t/carped.t line 13.^[[0m # ^[[30m^[[41m# found carped warning: Carping 2 at t/carped.t line 14^[[0m # ^[[30m^[[41m# found carped warning: Carping 3 at t/carped.t line 15^[[0m # ^[[30m^[[41m# found warning: Warning 4 at t/carped.t line 16.^[[0m # ^[[30m^[[41m# expected to find carped warning: (?-xism:1)^[[0m and here is my perl -V Summary of my perl5 (revision 5.0 version 8 subversion 3) configuration: Platform: osname=solaris, osvers=2.8, archname=sun4-solaris uname='sunos gums2-sun 5.8 generic_108528-23 sun4u sparc sunw,netra-t12 ' 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='gcc', ccflags ='-fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64', optimize='-O', cppflags='-fno-strict-aliasing' ccversion='', gccversion='3.2-gnupro-03r1', gccosandvers='solaris2.8' intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321 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='gcc', ldflags ='-Xlinker --export-dynamic ' libpth=/usr/lib /usr/ccs/lib libs=-lsocket -lnsl -ldl -lm -lc perllibs=-lsocket -lnsl -ldl -lm -lc libc=/lib/libc.so, so=so, useshrplib=false, libperl=libperl.a gnulibc_version='' Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' -Wl,-E' cccdlflags='-fPIC', lddlflags=' -Wl,-E -G' Characteristics of this binary (from libperl): Compile-time options: USE_LARGE_FILES Built under solaris Compiled at May 10 2004 13:50:41 %ENV: PERL5LIB="/dssweb/lib:/dssweb/local-perl/bin:/dssweb/mod_perl/lib/site_perl" @INC: /dssweb/lib/sun4-solaris /dssweb/lib /dssweb/local-perl/bin /dssweb/mod_perl/lib/site_perl /dssweb/local-perl/lib/5.8.3/sun4-solaris /dssweb/local-perl/lib/5.8.3 /dssweb/local-perl/lib/site_perl/5.8.3/sun4-solaris /dssweb/local-perl/lib/site_perl/5.8.3 /dssweb/local-perl/lib/site_perl Thanks, Isarin On 10/5/05, Shawn Sorichetti <[EMAIL PROTECTED]> wrote: > > > On Oct 4, 2005, at 5:18 PM, Cees Hek wrote: > > > On 10/4/05, H S <[EMAIL PROTECTED]> wrote: > > > >> Hi there, > >> > >> Any hints on what's missing when I tried to do 'make test' ? > >> > >> > >> t/01_basic.............NOK 3# Failed test 'instance dies when > >> called passed > >> non CGI::App module' > >> # in t/01_basic.t at line 40. > >> # expecting: Regexp > >> ((?-xism:CGI::Application::Plugin::Authentication->instance must > >> be called > >> with a CGI::Application object)) > >> # found: Can't locate object method "authen" via package > >> "TestAppBasicNOTCA" > >> at t/01_basic.t line 39. > >> > > > > Hmmm. Looks like I need to do some work on the test suite, since most > > of the problems I've seen are related to that. The test that failed > > is unimportant, so you should be able to ignore it. > > > > However, I would like to know why it is failing for you and not me, so > > can you send me some details of what version of perl you are running > > (just run perl -V and send the output), and tell me what the version > > of all the modules that are listed in Build.PL are. > > Hi Cees, > I was receiving the same error message. It has to do with not > having Test::Warn installed so the > CGI::Application::Plugin::Authentication->import(); isn't called > during the test before the Test::Exception->throws_ok. I've fixed > this test and checked it back in. > I didn't make a new release as it's more of an annoyance than a > failure, but if people would like I can create bundle and put it on a > public site, or we can wait for Cees' return. > By the way, hope you're having a wonderful vacation. > > -Shawn > > -- > Shawn Sorichetti. >
