[cgiapp] Test Failures with CGI::Application::Plugin::TT

Cees Hek ceeshek at gmail.com
Sun Mar 9 20:36:19 EDT 2008


Hi Michael,

I knew about these problems already because of the amazing CPAN
testers.  However, I was waiting for someone to pipe up that might
help me in solving the problems :)

The first two problems look to be cosmetic issues in Template Toolkit
(ie it is using the wrong path separator on windows).  My guess is
that this doesn't actually cause any problems, but we should be able
to fix the test suite to account for it.

Like you said, the third problem looks like it could be an issue
(although it is only an issue with the new precompile feature, so
upgrading on windows should still be safe if you avoid that new
feature).  I don't have a windows box to play with so there is not
much I can do to fix this.  I would appreciate if someone could take a
few minutes to do some debugging.  A patch would be greatly
appreciated, and/or SVN access to my CAP::TT repo can be organized for
anyone willing to put in a bit of time to fix this problem.

Cheers,

Cees


On Wed, Mar 5, 2008 at 1:39 AM, Michael Lackhoff
<lackhoff at zbmed.uni-koeln.de> wrote:
> Hello Cees,
>
>  thanks for the new versions of your plugins. Everything looks fine with
>  a tiny exception:
>
>  t/09_precompile_dir......1/6
>  #   Failed test 'file is cached'
>  #   at t/09_precompile_dir.t line 31.
>  #          got: 'C:\.cpan\build\CGI-Application-Plugin-TT-
>  1.04\t\include1\TestAppIncludePath/test_mode.tmpl'
>  #     expected: 'C:\.cpan\build\CGI-Application-Plugin-TT-
>  1.04\t\include1\TestAppIncludePath\test_mode.tmpl'
>
>  #   Failed test 'file is cached'
>  #   at t/09_precompile_dir.t line 31.
>  #          got: 'C:\.cpan\build\CGI-Application-Plugin-TT-
>  1.04\t\include1\TestAppIncludePath/test_mode.tmpl'
>  #     expected: 'C:\.cpan\build\CGI-Application-Plugin-TT-
>  1.04\t\include1\TestAppIncludePath\test_mode.tmpl'
>
>  #   Failed test 'file is cached'
>  #   at t/09_precompile_dir.t line 31.
>  #          got: undef
>  #     expected: 'C:\.cpan\build\CGI-Application-Plugin-TT-
>  1.04\t\include1\TestAppIncludePath\test_mode.tmpl'
>  # Looks like you failed 3 tests of 6.
>  t/09_precompile_dir...... Dubious, test returned 3 (wstat 768, 0x300)
>   Failed 3/6 subtests
>
>  It looks as if the first two are harmless (just one slash/backslash
>  mixed up) but the third error looks like something is really going
>  wrong.
>  As you can guess from the "C:\..." everything is under Windows 2000,
>  Perl is a self-compiled 5.8.8 with VC6 from the official sources (not
>  Activestate).
>
>  Any ideas?
>  -Michael
>
>
>  #####  CGI::Application community mailing list  ################
>  ##                                                            ##
>  ##  To unsubscribe, or change your message delivery options,  ##
>  ##  visit:  http://lists.openlib.org/mailman/listinfo/cgiapp    ##
>  ##                                                            ##
>  ##  Web archive:   http://lists.openlib.org/pipermail/cgiapp/   ##
>  ##  Wiki:          http://cgiapp.erlbaum.net/                 ##
>  ##                                                            ##
>  ################################################################
>
>


More information about the cgiapp mailing list