Subject: | Tests fail |
Macintosh:Catalyst-Action-RenderView-ErrorHandler-0.0105 bolav$ perl
Makefile.PL
Cannot determine perl version info from
lib/Catalyst/Action/RenderView/ErrorHandler.pm
LEGAL WARNING: 'All rights reserved' may invalidate Open Source
licenses. Consider removing it. at inc/Module/Install/Metadata.pm line 323.
*** Module::AutoInstall version 1.03
*** Checking for Perl dependencies...
[Core Features]
- Test::More ...loaded. (0.86)
- Text::Diff ...loaded. (0.35)
- FindBin ...loaded. (1.47)
- Catalyst::Runtime ...loaded. (5.71)
- HTTP::Request ...loaded. (5.814)
- Catalyst::Action::RenderView ...loaded. (0.08)
- Moose ...loaded. (0.65)
- Catalyst::View::TT ...loaded. (0.27 >= 0.25)
- Class::Inspector ...loaded. (1.23)
*** Module::AutoInstall configuration finished.
Checking if your kit is complete...
Looks good
Writing Makefile for Catalyst::Action::RenderView::ErrorHandler
Macintosh:Catalyst-Action-RenderView-ErrorHandler-0.0105 bolav$ make test
cp lib/Catalyst/Action/RenderView/ErrorHandler/Action.pm
blib/lib/Catalyst/Action/RenderView/ErrorHandler/Action.pm
cp lib/Catalyst/Action/RenderView/ErrorHandler.pm
blib/lib/Catalyst/Action/RenderView/ErrorHandler.pm
cp lib/Catalyst/Action/RenderView/ErrorHandler/Action/Log.pm
blib/lib/Catalyst/Action/RenderView/ErrorHandler/Action/Log.pm
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/00.load.t
t/01.usage.t t/02.defaults.t t/03.debug.t t/perlcritic.t
t/pod-coverage.t t/pod.t
t/00.load.........1/1 # Testing
Catalyst::Action::RenderView::ErrorHandler 0.0105
t/00.load.........ok
t/01.usage........Name "main::SAVEERR" used only once: possible typo at
t/01.usage.t line 38.
t/01.usage........1/25
# Failed test 'Content OK'
# at t/01.usage.t line 88.
# got: 'Something awfull happened'
# expected: '500 error happened
#
# * Caught exception in TestApp->test_die "Death by action at
/Users/bolav/dev/cpan/Catalyst-Action-RenderView-ErrorHandler-0.0105/t/lib/TestApp.pm
line 33."
# '
# Failed test at t/01.usage.t line 89.
# got: ''
# expected: '[error] Caught exception in TestApp->test_die "Death by
action at
/Users/bolav/dev/cpan/Catalyst-Action-RenderView-ErrorHandler-0.0105/t/lib/TestApp.pm
line 33."
# '
# Failed test 'Content OK'
# at t/01.usage.t line 106.
# got: 'Something awfull happened'
# expected: '5xx error happened
#
# * Caught exception in TestApp::View::Default->process "Death by view
at
/Users/bolav/dev/cpan/Catalyst-Action-RenderView-ErrorHandler-0.0105/t/lib/TestApp/View/Default.pm
line 9."
# '
# Looks like you failed 3 tests of 25.
t/01.usage........ Dubious, test returned 3 (wstat 768, 0x300)
Failed 3/25 subtests
t/02.defaults.....Name "main::SAVEERR" used only once: possible typo at
t/02.defaults.t line 38.
t/02.defaults.....ok
t/03.debug........[debug] Debug messages enabled
[debug] Statistics enabled
[debug] Loaded dispatcher "Catalyst::Dispatcher"
[debug] Loaded engine "Catalyst::Engine::CGI"
[debug] Found home
"/Users/bolav/dev/cpan/Catalyst-Action-RenderView-ErrorHandler-0.0105/t/lib/TestApp3"
[debug] Loaded components:
.-----------------------------------------------------------------+----------.
| Class | Type
|
+-----------------------------------------------------------------+----------+
| TestApp3::View::Default |
instance |
'-----------------------------------------------------------------+----------'
[debug] Loaded Private actions:
.----------------------+--------------------------------------+--------------.
| Private | Class | Method
|
+----------------------+--------------------------------------+--------------+
| /test_die | TestApp3 | test_die
|
| /test_ok | TestApp3 | test_ok
|
| /end | TestApp3 | end
|
'----------------------+--------------------------------------+--------------'
[debug] Loaded Path actions:
.-------------------------------------+--------------------------------------.
| Path | Private
|
+-------------------------------------+--------------------------------------+
| /test_die | /test_die
|
| /test_ok | /test_ok
|
'-------------------------------------+--------------------------------------'
[info] TestApp powered by Catalyst 5.71000
Name "main::SAVEERR" used only once: possible typo at t/03.debug.t line 38.
t/03.debug........ok
t/perlcritic......skipped: Author test. Set $ENV{TEST_AUTHOR} to a true
value to run.
t/pod-coverage....ok
t/pod.............ok
Test Summary Report
-------------------
t/01.usage (Wstat: 768 Tests: 25 Failed: 3)
Failed tests: 12-13, 18
Non-zero exit status: 3
Files=7, Tests=58, 3 wallclock secs ( 0.06 usr 0.03 sys + 2.80 cusr
0.26 csys = 3.15 CPU)
Result: FAIL
Failed 1/7 test programs. 3/58 subtests failed.
make: *** [test_dynamic] Error 255