I'm installing Template Toolkit 2.10 on Solaris 7, Perl 5.6.1,
via CPAN.

One self-test fails: 
    t/date...........ok 24/33Argument "%s" isn't numeric in localtime at t/date.t line 
66, <DATA> line 1.
    FAILED 25:  - template text 11 did not match expected
    t/date...........FAILED test 25                                              
            Failed 1/33 tests, 96.97% okay

The "isn't numeric in localtime" message is generated somewhere
down in the Template::process() call that processes the expected
output.  If I remember correctly -- which I might well not; it
was a couple of days ago -- it was this call, at line 328 of
Template/Test.pm:
    $tproc->process(\$expect, $params, \$out) || do {

I haven't had a chance to dig any deeper, nor will I, given
deadline pressure :-(  I went ahead and installed TT despite the
error, hoping that I won't need to use the Date plugin anytime
soon....

FWIW, on a Mandrake 7.2 system, also Perl 5.6.1, TT 2.10 installed
with no problems at all.

Man, TT rocks!  Thank you!

Here's the complete "make test" output from the Solaris-7 box:

=================================== begin ====================================

$ make test
make[1]: Entering directory `/nitro01/home/erics/.cpan/build/Template-Toolkit-2.10/xs'
make[1]: Leaving directory `/nitro01/home/erics/.cpan/build/Template-Toolkit-2.10/xs'
PERL_DL_NONLAZY=1 /usr/local/bin/perl -Iblib/arch -Iblib/lib 
-I/usr/local/stow/perL-5.6.1/lib/perl5/5.6.1/sun4-solaris 
-I/usr/local/stow/perL-5.6.1/lib/perl5/5.6.1 -e 'use Test::Harness qw(&runtests 
$verbose); $verbose=0; runtests @ARGV;' t/*.t
t/args...........ok                                                          
t/autoform.......skipped
        all skipped: Text::Autoformat module not installed
t/base...........ok                                                          
t/binop..........ok                                                          
t/block..........ok                                                          
t/blocks.........ok                                                          
t/capture........ok                                                          
t/case...........ok                                                          
t/cgi............ok                                                          
t/chomp..........ok                                                          
t/compile1.......ok                                                          
t/compile2.......ok                                                          
t/compile3.......ok                                                          
t/compile4.......ok                                                          
t/compile5.......ok                                                          
t/config.........ok                                                          
t/constants......ok                                                          
t/context........ok                                                          
t/datafile.......ok                                                          
t/date...........ok 24/33Argument "%s" isn't numeric in localtime at t/date.t line 66, 
<DATA> line 1.
FAILED 25:  - template text 11 did not match expected
t/date...........FAILED test 25                                              
        Failed 1/33 tests, 96.97% okay
t/dbi............skipped
        all skipped: DBI module not installed
t/debug..........ok                                                          
t/directive......ok                                                          
t/directry.......ok                                                          
t/document.......ok                                                          
t/dom............skipped
        all skipped: XML::DOM v1.27 or later not installed
t/domview........skipped
        all skipped: XML::DOM v1.27 or later not installed
t/dumper.........ok                                                          
t/error..........ok                                                          
t/evalperl.......ok                                                          
t/exception......ok                                                          
t/factory........ok                                                          
t/file...........ok                                                          
t/filter.........ok                                                          
t/foreach........ok                                                          
t/format.........ok                                                          
t/gd.............skipped
        all skipped: GD module(s) not installed
t/gdgraph........skipped
        all skipped: GD module(s) not installed
t/gdgraph3d......skipped
        all skipped: GD module(s) not installed
t/gdtext.........skipped
        all skipped: GD module(s) not installed
t/gdtextalign....skipped
        all skipped: GD module(s) not installed
t/gdtextwrap.....skipped
        all skipped: GD module(s) not installed
t/html...........ok                                                          
t/image..........skipped
        all skipped: Neither Image::Info nor Image::Size installed
t/include........ok                                                          
t/iterator.......ok                                                          
t/latex2dvi......skipped
        all skipped: LaTeX not installed
t/latex2pdf......skipped
        all skipped: LaTeX not installed
t/latex2ps.......skipped
        all skipped: LaTeX not installed
t/leak...........ok                                                          
t/list...........ok                                                          
t/macro..........ok                                                          
t/object.........ok                                                          
t/output.........ok                                                          
t/parser.........ok                                                          
t/plugins........ok                                                          
t/plusfile.......ok                                                          
t/pod............skipped
        all skipped: Pod::POM not installed
t/prefix.........ok                                                          
t/proc...........ok                                                          
t/process........ok                                                          
t/provider.......ok                                                          
t/ref............ok                                                          
t/rss............skipped
        all skipped: XML::RSS v 0.9 or later not installed
t/service........ok                                                          
t/skel...........ok                                                          
t/stash-xs.......ok                                                          
t/stash..........ok                                                          
t/stashc.........ok                                                          
t/stop...........ok                                                          
t/strcat.........ok                                                          
t/string.........ok                                                          
t/switch.........ok                                                          
t/table..........ok                                                          
t/tags...........ok                                                          
t/template.......ok                                                          
t/text...........ok                                                          
t/throw..........ok                                                          
t/tiedhash.......ok                                                          
t/try............ok                                                          
t/url............ok                                                          
t/vars...........ok                                                          
t/varsv1.........ok                                                          
t/view...........ok                                                          
t/vmeth..........ok                                                          
t/while..........ok                                                          
t/wrap...........ok                                                          
t/wrapper........ok                                                          
t/xmlstyle.......ok                                                          
t/xpath..........skipped
        all skipped: XML::XPath v1.0 or later not installed
Failed Test Stat Wstat Total Fail  Failed  List of Failed
-------------------------------------------------------------------------------
t/date.t                  33    1   3.03%  25
17 tests skipped.
Failed 1/90 test scripts, 98.89% okay. 1/2440 subtests failed, 99.96% okay.
make: *** [test_dynamic] Error 11
$
=================================== end ====================================

--

|  | /\
|-_|/  >   Eric Siegerman, Toronto, Ont.        [EMAIL PROTECTED]
|  |  /
When I came back around from the dark side, there in front of me would
be the landing area where the crew was, and the Earth, all in the view
of my window. I couldn't help but think that there in front of me was
all of humanity, except me.
        - Michael Collins, Apollo 11 Command Module Pilot


_______________________________________________
templates mailing list
[EMAIL PROTECTED]
http://lists.template-toolkit.org/mailman/listinfo/templates

Reply via email to