[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cgiapp] Re: more testing failures...


George-

Sorry for the trivial error report. I'd have sworn on my mothers grave I had Dispatch installed - but that would be unwise since she's still alive and kicking and in fact I didn't have Dispatch installed. That's what I get for working with a foggy head in the middle of the night. All tests pass and the sun is shining in Salt Lake City.

Barry

On Mar 13, 2007, at 11:33 AM, George Hartzell wrote:

Barry Moore writes:
Yeah, I got the AutoRunmode, Dispatch and HTTP::Request::AsCGI
prerequs, but was still getting errors.  Sorry I pasted the errors
way down in the cruft on the last message, but they are:

Can you confirm that you have CGI::Application::Dispatch installed and
working?  Those errors smell an awful lot like it's not.

  perl -d -e ''
     use CGI::Application::Dispatch

and happiness, or blewy?

g.



Mac:Test-WWW-Mechanize-CGIApp-0.03 root# make test
PERL_DL_NONLAZY=1 /usr/local/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/autorunmode.....ok
t/cgiapp..........ok
t/dispatch........Unable to use the value of instance. at lib/Test/
WWW/Mechanize/CGIApp.pm line 131.
# Looks like your test died before it could output anything.
t/dispatch........dubious
         Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-13
         Failed 13/13 tests, 0.00% okay
t/instance........Can't locate object method "dispatch" via package
"MyDispatch" at t/instance.t line 17.
# Looks like your test died before it could output anything.
t/instance........dubious
         Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-26
         Failed 26/26 tests, 0.00% okay
t/pod.............ok
t/pod_coverage....ok
Failed Test  Stat Wstat Total Fail  Failed  List of Failed
--------------------------------------------------------------------- ---
-------
t/dispatch.t  255 65280    13   26 200.00%  1-13
t/instance.t  255 65280    26   52 200.00%  1-26
Failed 2/6 test scripts, 66.67% okay. 39/67 subtests failed, 41.79%
okay.
make: *** [test_dynamic] Error 2

I kind of followed it with the debugger a bit and didn't stumble onto
an easy solution so I went to bed - how's that for a helpful
community effort.

B

On Mar 13, 2007, at 10:49 AM, George Hartzell wrote:


Ok, so a bunch of the tests also need to be conditional on haveing
CA::Dispatch installed.  Go figure.  Who *doesn't* have it
installed....

sigh.

g.



---------------------------------------------------------------------
Web Archive:  http://www.mail-archive.com/suppressed/
             http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
To unsubscribe, e-mail: suppressed
For additional commands, e-mail: suppressed


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.