[Catalyst] Catalyst::View::Email tests failing

J. Shirley jshirley at gmail.com
Thu Feb 5 19:17:09 GMT 2009


On Thu, Feb 5, 2009 at 11:02 AM, Byron Young <Byron.Young at riverbed.com> wrote:
> Hi J Shirley
>
> I'm trying to install your neat C::V::Email package but I'm running into some test failures.  I thought you might like to know about them.  The test failures look benign to me so I'm going to force install, but let me know if you think that the errors could be dangerous.
>
> Let me know if you want me to try out a test patch.
>
> Thanks
> Byron
>
>
>  CPAN.pm: Going to build J/JS/JSHIRLEY/Catalyst-View-Email-0.11.tar.gz
>
> Cannot determine perl version info from lib/Catalyst/View/Email.pm
> *** Module::AutoInstall version 1.03
> *** Checking for Perl dependencies...
> [Core Features]
> - Catalyst              ...loaded. (5.71000 >= 5.7)
> - Class::C3             ...loaded. (0.19)
> - Email::Send           ...loaded. (2.194 >= 2.185)
> - Email::MIME           ...loaded. (1.863 >= 1.859)
> - Email::MIME::Creator  ...loaded. (1.455 >= 1.453)
> [Template Toolkit Support]
> - Catalyst::View::TT    ...loaded. (0.26)
> [Mason Support]
> - Catalyst::View::Mason ...loaded. (0.16)
> [Net::SMTP Support]
> - MIME::Base64          ...loaded. (3.07)
> - Authen::SASL          ...missing.
> ==> Auto-install the 1 optional module(s) from CPAN? [n]
> *** Module::AutoInstall configuration finished.
> Checking if your kit is complete...
> Warning: the following files are missing in your kit:
>        t/lib/TestApp/cache/obj/
> Please inform the author.
> Writing Makefile for Catalyst::View::Email
> cp lib/Catalyst/View/Email.pm blib/lib/Catalyst/View/Email.pm
> cp lib/Catalyst/View/Email/Template.pm blib/lib/Catalyst/View/Email/Template.pm
> cp lib/Catalyst/Helper/View/Email.pm blib/lib/Catalyst/Helper/View/Email.pm
> cp lib/Catalyst/Helper/View/Email/Template.pm blib/lib/Catalyst/Helper/View/Email/Template.pm
> Manifying blib/man3/Catalyst::View::Email.3pm
> Manifying blib/man3/Catalyst::View::Email::Template.3pm
> Manifying blib/man3/Catalyst::Helper::View::Email::Template.3pm
> Manifying blib/man3/Catalyst::Helper::View::Email.3pm
>  JSHIRLEY/Catalyst-View-Email-0.11.tar.gz
>  /usr/bin/make -- OK
> Running make test
> PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/01use.t t/02pod.t t/04basic.t t/05template.t t/06config.t t/07mason.t
> t/01use.........ok
> t/02pod.........skipped: set TEST_POD to enable this test
> t/04basic.......[warn] DEPRECATION WARNING: TestApp::View::Mason sets the use_match config variable to a true value.
> This has been deprecated. Please see the Catalyst::View::Mason
> documentation for details on use_match.
> t/04basic.......ok
> t/05template....[warn] DEPRECATION WARNING: TestApp::View::Mason sets the use_match config variable to a true value.
> This has been deprecated. Please see the Catalyst::View::Mason
> documentation for details on use_match.
> t/05template....2/11
> #   Failed test 'text/plain part ok'
> #   at t/05template.t line 33.
> #          got: 'text/plain'
> #     expected: 'text/plain; charset="us-ascii"'
>
> #   Failed test 'text/html ok'
> #   at t/05template.t line 36.
> #          got: 'text/html'
> #     expected: 'text/html; charset="us-ascii"'
> # Looks like you failed 2 tests of 11.
> t/05template.... Dubious, test returned 2 (wstat 512, 0x200)
>  Failed 2/11 subtests
> t/06config......[warn] DEPRECATION WARNING: TestApp::View::Mason sets the use_match config variable to a true value.
> This has been deprecated. Please see the Catalyst::View::Mason
> documentation for details on use_match.
> t/06config......1/13
> #   Failed test 'text/plain ok'
> #   at t/06config.t line 37.
> #          got: 'text/plain'
> #     expected: 'text/plain; charset="us-ascii"'
>
> #   Failed test 'text/html ok'
> #   at t/06config.t line 39.
> #          got: 'text/html'
> #     expected: 'text/html; charset="us-ascii"'
> # Looks like you failed 2 tests of 13.
> t/06config...... Dubious, test returned 2 (wstat 512, 0x200)
>  Failed 2/13 subtests
> t/07mason.......[warn] DEPRECATION WARNING: TestApp::View::Mason sets the use_match config variable to a true value.
> This has been deprecated. Please see the Catalyst::View::Mason
> documentation for details on use_match.
> t/07mason.......1/10
> #   Failed test 'text/plain ok'
> #   at t/07mason.t line 32.
> #          got: 'text/plain'
> #     expected: 'text/plain; charset="us-ascii"'
>
> #   Failed test 'text/html ok'
> #   at t/07mason.t line 34.
> #          got: 'text/html'
> #     expected: 'text/html; charset="us-ascii"'
> # Looks like you failed 2 tests of 10.
> t/07mason....... Dubious, test returned 2 (wstat 512, 0x200)
>  Failed 2/10 subtests
>
> Test Summary Report
> -------------------
> t/05template (Wstat: 512 Tests: 11 Failed: 2)
>  Failed tests:  8, 10
>  Non-zero exit status: 2
> t/06config  (Wstat: 512 Tests: 13 Failed: 2)
>  Failed tests:  10, 12
>  Non-zero exit status: 2
> t/07mason   (Wstat: 512 Tests: 10 Failed: 2)
>  Failed tests:  7, 9
>  Non-zero exit status: 2
> Files=6, Tests=40,  3 wallclock secs ( 0.01 usr  0.07 sys +  0.65 cusr  2.12 csys =  2.85 CPU)
> Result: FAIL
> Failed 3/6 test programs. 6/40 subtests failed.
> make: *** [test_dynamic] Error 2
>  JSHIRLEY/Catalyst-View-Email-0.11.tar.gz
>  /usr/bin/make test -- NOT OK
> //hint// to see the cpan-testers results for installing this module, try:
>  reports JSHIRLEY/Catalyst-View-Email-0.11.tar.gz
> Running make install
>  make test had returned bad status, won't install without force
>

Ah, shoot.

I had to put in a dependency update for Email::MIME::Creator to the
latest version.  This is the result of a very important bugfix in
Email::MIME::Creator, so please update Email::MIME::Creator to the
latest version.

I'll bake another release shortly, thanks for the heads up.

-J



More information about the Catalyst mailing list