in reply to Template Toolkit install problem
But I get one simple error at the end of the process which I cannot get pastWhy can't you get past it (you can still install the module)?
Having a failing test should not be that critical to a user, especially if the test suite is 99.96% okay. I'd say that anything above %90 percent okay is okay ;)(acceptable) depending on what kind of distribution you're dealing with and the nature of the failures (like in this case, i'd say it's ok).
Here's how testing Template-Toolkit goes on my machine (please note that I run nmake test TEST_FILES="t\provider.t t\gd.t t\filter.t t\compile3.t" TEST_VERBOSE=1 )
C:\new\Template-Toolkit-2.09>nmake test Running Mkbootstrap for Template::Stash::XS () C:\Perl\bin\perl.exe -MExtUtils::Command -e chmod 644 XS.bs link -out:..\blib\arch\auto\Template\Stash\XS\XS.dll -dll -nol +ogo -nodefaultlib -release -libpath:"C:\Perl\lib\ CORE" -machine:x86 Stash.obj C:\Perl\lib\CORE\perl56.lib oldnames.l +ib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib netapi3 +2.lib uuid.lib wsock32.lib mpr.lib winmm.lib vers ion.lib odbc32.lib odbccp32.lib msvcrt.lib -def:XS.def Creating library ..\blib\arch\auto\Template\Stash\XS\XS.lib and obj +ect ..\blib\arch\auto\Template\Stash\XS\XS.exp C:\Perl\bin\perl.exe -MExtUtils::Command -e chmod 755 ..\blib\ +arch\auto\Template\Stash\XS\XS.dll C:\Perl\bin\perl.exe -MExtUtils::Command -e cp XS.bs ..\blib\a +rch\auto\Template\Stash\XS\XS.bs C:\Perl\bin\perl.exe -MExtUtils::Command -e chmod 644 ..\blib\ +arch\auto\Template\Stash\XS\XS.bs C:\Perl\bin\perl.exe -MExtUtils::Command -e cp bin/ttree blib\ +script\ttree pl2bat.bat blib\script\ttree C:\Perl\bin\perl.exe -MExtUtils::Command -e cp bin/tpage blib\ +script\tpage pl2bat.bat blib\script\tpage C:\Perl\bin\perl.exe "-MExtUtils::Command::MM" "-e" "test_harn +ess(0, 'blib\lib', 'blib\arch')" t\args.t t\autofo rm.t t\base.t t\binop.t t\block.t t\blocks.t t\capture.t t\case.t t\cg +i.t t\chomp.t t\compile1.t t\compile2.t t\compile3 .t t\compile4.t t\compile5.t t\config.t t\constants.t t\context.t t\da +tafile.t t\date.t t\dbi.t t\debug.t t\directive.t t\directry.t t\document.t t\dom.t t\domview.t t\dumper.t t\error.t t\e +valperl.t t\exception.t t\factory.t t\file.t t\fil ter.t t\foreach.t t\format.t t\gd.t t\gdgraph.t t\gdgraph3d.t t\gdtext +.t t\gdtextalign.t t\gdtextwrap.t t\html.t t\image .t t\include.t t\iterator.t t\latex2dvi.t t\latex2pdf.t t\latex2ps.t t +\leak.t t\list.t t\macro.t t\object.t t\output.t t \parser.t t\plugins.t t\plusfile.t t\pod.t t\prefix.t t\proc.t t\proce +ss.t t\provider.t t\ref.t t\rss.t t\service.t t\sk el.t t\stash-xs.t t\stash.t t\stashc.t t\stop.t t\strcat.t t\string.t +t\switch.t t\table.t t\tags.t t\template.t t\text. t t\throw.t t\tiedhash.t t\try.t t\url.t t\vars.t t\varsv1.t t\view.t +t\vmeth.t t\while.t t\wrap.t t\wrapper.t t\xmlstyl e.t t\xpath.t t\args...........ok t\autoform.......ok 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 11/13FAILED 12: - template text 2 did not match e +xpected t\compile3.......FAILED test 12 Failed 1/13 tests, 92.31% okay t\compile4.......ok t\compile5.......ok t\config.........ok t\constants......ok t\context........ok t\datafile.......ok t\date...........ok t\dbi............skipped all skipped: skipping DBI tests at user request t\debug..........ok t\directive......ok t\directry.......skipped all skipped: skipping tests on MS Win 32 platform t\document.......ok t\dom............ok t\domview........ok t\dumper.........ok t\error..........ok t\evalperl.......ok t\exception......ok t\factory........ok t\file...........skipped all skipped: skipping tests on MS Win 32 platform t\filter.........FAILED test 87 Failed 1/146 tests, 99.32% okay t\foreach........ok t\format.........ok t\gd.............ok 8/11FAILED 9: - template text 3 did not match exp +ected t\gd.............FAILED test 9 Failed 1/11 tests, 90.91% okay t\gdgraph........ok t\gdgraph3d......ok t\gdtext.........ok t\gdtextalign....ok t\gdtextwrap.....ok t\html...........ok t\image..........ok 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............ok t\prefix.........ok t\proc...........ok t\process........ok t\provider.......ok 32/56Template process failed: Template::Constants: +:ERROR_FILE error - C:/new/Template-Toolkit-2.09/t /test/src/foo: absolute paths are not allowed (set ABSOLUTE option) FAILED 33: - template text 5 process FAILED: [% TRY %]\n[% INCLUDE $r +elfile -%... t\provider.......NOK 33FAILED 34: - (obviously did not match expected +) t\provider.......ok 38/56Template process failed: Template::Constants: +:ERROR_FILE error - ./t/test/src/foo: relative pat hs are not allowed (set RELATIVE option) FAILED 39: - template text 8 process FAILED: [% TRY %]\n[% INCLUDE $a +bsfile %]... t\provider.......NOK 39FAILED 40: - (obviously did not match expected +) t\provider.......ok 55/56FAILED 56: - template text 16 did not match +expected t\provider.......FAILED tests 33-34, 39-40, 56 Failed 5/56 tests, 91.07% okay t\ref............ok t\rss............ok 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..........ok Failed Test Stat Wstat Total Fail Failed List of Failed ---------------------------------------------------------------------- +--------- t\compile3.t 13 1 7.69% 12 t\filter.t 146 1 0.68% 87 t\gd.t 11 1 9.09% 9 t\provider.t 56 5 8.93% 33-34 39-40 56 6 tests skipped. Failed 4/90 test scripts, 95.56% okay. 8/2521 subtests failed, 99.68% +okay. NMAKE : fatal error U1077: 'C:\Perl\bin\perl.exe' : return code '0xff' Stop. C:\new\Template-Toolkit-2.09>nmake test TEST_FILES="t\provider.t t\gd. +t t\filter.t t\compile3.t" TEST_VERBOSE=1 Microsoft (R) Program Maintenance Utility Version 6.00.8168.0 Copyright (C) Microsoft Corp 1988-1998. All rights reserved. Running Mkbootstrap for Template::Stash::XS () C:\Perl\bin\perl.exe -MExtUtils::Command -e chmod 644 XS.bs link -out:..\blib\arch\auto\Template\Stash\XS\XS.dll -dll -nol +ogo -nodefaultlib -release -libpath:"C:\Perl\lib\ CORE" -machine:x86 Stash.obj C:\Perl\lib\CORE\perl56.lib oldnames.l +ib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib netapi3 +2.lib uuid.lib wsock32.lib mpr.lib winmm.lib vers ion.lib odbc32.lib odbccp32.lib msvcrt.lib -def:XS.def Creating library ..\blib\arch\auto\Template\Stash\XS\XS.lib and obj +ect ..\blib\arch\auto\Template\Stash\XS\XS.exp C:\Perl\bin\perl.exe -MExtUtils::Command -e chmod 755 ..\blib\ +arch\auto\Template\Stash\XS\XS.dll C:\Perl\bin\perl.exe -MExtUtils::Command -e cp XS.bs ..\blib\a +rch\auto\Template\Stash\XS\XS.bs C:\Perl\bin\perl.exe -MExtUtils::Command -e chmod 644 ..\blib\ +arch\auto\Template\Stash\XS\XS.bs C:\Perl\bin\perl.exe -MExtUtils::Command -e cp bin/ttree blib\ +script\ttree pl2bat.bat blib\script\ttree C:\Perl\bin\perl.exe -MExtUtils::Command -e cp bin/tpage blib\ +script\tpage pl2bat.bat blib\script\tpage C:\Perl\bin\perl.exe "-MExtUtils::Command::MM" "-e" "test_harn +ess(1, 'blib\lib', 'blib\arch')" t\provider.t t\gd .t t\filter.t t\compile3.t t\compile3....1..13 ok 1 ok 2 ok 3 ok 4 ok 5 ok 6 - running test_expect() ok 7 - template processor is engaged ok 8 - input read and split into 2 tests ok 9 - template text 1 processed OK: [% META author => 'albert' versi. +.. ok 10 - template text 1 matched expected ok 11 - template text 2 processed OK: [%# we want to break 'compile' t +... MATCH FAILED input: [[%# we want to break 'compile' to check that errors get repor +ted -%]\n[% CALL bust_it -%]\n[% TRY; INCLUDE comp lex; CATCH; "$error"; END %]\n] eFAILED 12: - template text 2 did not match expected xpect: [file error - parse error - complex line 20: unexpected end of +input] output: [Template::Constants::ERROR_FILE error - parse error - complex + line 20: unexpected end of input] not ok 12 - template text 2 did not match expected ok 13 FAILED test 12 Failed 1/13 tests, 92.31% okay t\filter......1..146 ok 1 - running test_expect() ok 2 - template processor is engaged ok 3 - input read and split into 71 tests ok 4 - template text 1 processed OK: [% TRY %]\n[% FILTER nonfilt %]\n +b... ok 5 - template text 1 matched expected ok 6 - template text 2 processed OK: [% TRY %]\n[% FILTER badfact %]\n +b... ok 7 - template text 2 matched expected ok 8 - template text 3 processed OK: [% TRY %]\n[% FILTER badfilt %]\n +b... ok 9 - template text 3 matched expected ok 10 - template text 4 processed OK: [% TRY;\n "foo" | barfilt;\n + ... ok 11 - template text 4 matched expected ok 12 - template text 5 processed OK: [% TRY;\n "foo" | barfilt(1) +;... ok 13 - template text 5 matched expected ok 14 - template text 6 processed OK: [% TRY;\n "foo" | barfilt(2) +;... ok 15 - template text 6 matched expected ok 16 - template text 7 processed OK: [% TRY;\n "foo" | barfilt(3) +;... ok 17 - template text 7 matched expected ok 18 - template text 8 processed OK: [% FILTER html %]\nThis is some +h... ok 19 - template text 8 matched expected ok 20 - template text 9 processed OK: [% text = "The <cat> sat on the +... ok 21 - template text 9 matched expected ok 22 - template text 10 processed OK: [% text = "The <cat> sat on the + ... ok 23 - template text 10 matched expected ok 24 - template text 11 processed OK: [% FILTER html %]\n"It isn't wh +at... ok 25 - template text 11 matched expected ok 26 - template text 12 processed OK: [% FILTER format %]\nHello Worl +d!... ok 27 - template text 12 matched expected ok 28 - template text 13 processed OK: [% FILTER comment = format('<!- +-... ok 29 - template text 13 matched expected ok 30 - template text 14 processed OK: [% FILTER format %]\nHello Worl +d!... ok 31 - template text 14 matched expected ok 32 - template text 15 processed OK: [% "Foo" FILTER test1 = format( +'... ok 33 - template text 15 matched expected ok 34 - template text 16 processed OK: [% FILTER microjive %]\nThe "Ha +ll... ok 35 - template text 16 matched expected ok 36 - template text 17 processed OK: [% FILTER microsloth %]\nThe "H +al... ok 37 - template text 17 matched expected ok 38 - template text 18 processed OK: [% FILTER censor('bottom' 'nipp +l... ok 39 - template text 18 matched expected ok 40 - template text 19 processed OK: [% FILTER bold = format('<b>%s< +/... ok 41 - template text 19 matched expected ok 42 - template text 20 processed OK: [% "foo" FILTER format("<< %s > +>... ok 43 - template text 20 matched expected ok 44 - template text 21 processed OK: [% blocktext = BLOCK %]\nThe ca +t ... ok 45 - template text 21 matched expected ok 46 - template text 22 processed OK: [% global.blocktext FILTER html +_... ok 47 - template text 22 matched expected ok 48 - template text 23 processed OK: [% global.blocktext FILTER html +_... ok 49 - template text 23 matched expected ok 50 - template text 24 processed OK: [% global.blocktext FILTER html +_... ok 51 - template text 24 matched expected ok 52 - template text 25 processed OK: [% global.blocktext FILTER html +_... ok 53 - template text 25 matched expected ok 54 - template text 26 processed OK: [% global.blocktext FILTER trun +c... ok 55 - template text 26 matched expected ok 56 - template text 27 processed OK: [% global.blocktext FILTER trun +c... ok 57 - template text 27 matched expected ok 58 - template text 28 processed OK: [% 'Hello World' | truncate(8) ++... ok 59 - template text 28 matched expected ok 60 - template text 29 processed OK: [% "foo..." FILTER repeat(5) %] ok 61 - template text 29 matched expected ok 62 - template text 30 processed OK: [% FILTER truncate(21) %]\nI ha +ve... ok 63 - template text 30 matched expected ok 64 - template text 31 processed OK: [% FILTER truncate(25) %]\nNoth +in... ok 65 - template text 31 matched expected ok 66 - template text 32 processed OK: [% FILTER repeat(3) %]\nAm I re +pe... ok 67 - template text 32 matched expected ok 68 - template text 33 processed OK: [% text FILTER remove(' ') +%]\ +n[... ok 69 - template text 33 matched expected ok 70 - template text 34 processed OK: [% text FILTER replace(' ', '_' +)... ok 71 - template text 34 matched expected ok 72 - template text 35 processed OK: [% text = 'The <=> operator' %] +\n... ok 73 - template text 35 matched expected ok 74 - template text 36 processed OK: [% text = 'The <=> operator, bl +a... ok 75 - template text 36 matched expected ok 76 - template text 37 processed OK: [% | truncate(25) %]\nThe cat s +at... ok 77 - template text 37 matched expected ok 78 - template text 38 processed OK: [% FILTER upper %]\nThe cat sat + o... ok 79 - template text 38 matched expected ok 80 - template text 39 processed OK: [% FILTER lower %]\nThe cat sat + o... ok 81 - template text 39 matched expected ok 82 - template text 40 processed OK: [% 'arse' | stderr %]\nstderr: +[%... ok 83 - template text 40 matched expected ok 84 - template text 41 processed OK: [% percent = '%'\n left = +"[... ok 85 - template text 41 matched expected ok 86 - template text 42 processed OK: [% TRY %]\n[% dir = "[\% FOREAC +H ... MATCH FAILED input: [[% TRY %]\n[% dir = "[\% FOREACH a = { 1 2 3 } %\]a: [\% a %\ +]\n[\% END %\]" %]\n[% dir | eval %]\n[% CATCH %]\ nerror: [[% error.type %]] [[% error.info %]]\n[% END %]\n] expect: [error: [file] [parse error - input text line 1: unexpected to +ken (1)\n [% FOREACH a = { 1 2 3 } %]]] output: [error: [Template::Constants::ERROR_FILE] [parse error - input + text line 1: unexpected token (1)\n [% FOREACH a = { 1 2 3 } %]]] not ok 87 - template text 42 did not match expected ok 88 - template text 43 processed OK: nothing\n[% TRY;\n '$x = 10; + $b... ok 89 - template text 43 matched expected ok 90 - template text 44 processed OK: [% TRY -%]\nbefore\n[% FILTER r +edi... ok 91 - template text 44 matched expected ok 92 - template text 45 processed OK: [% FILTER evalperl %]\n $a = +10... ok 93 - template text 45 matched expected ok 94 - template text 46 processed OK: [% TRY -%]\nbefore\n[% FILTER f +ile... ok 95 - template text 46 matched expected ok 96 - template text 47 processed OK: [% PERL %]\n$Template::Filters: +:F... ok 97 - template text 47 matched expected ok 98 - template text 48 processed OK: [% PERL %]\n$Template::Filters: +:F... ok 99 - template text 48 matched expected ok 100 - template text 49 processed OK: [% PERL %]\n$stash->set('merly +n',... ok 101 - template text 49 matched expected ok 102 - template text 50 processed OK: [% PERL %]\n$stash->set('merly +n',... ok 103 - template text 50 matched expected ok 104 - template text 51 processed OK: [% myfilter = 'html' -%]\n[% F +ILT... ok 105 - template text 51 matched expected ok 106 - template text 52 processed OK: [% FILTER $despace -%]\nblah b +lah... ok 107 - template text 52 matched expected ok 108 - template text 53 processed OK: [% PERL %]\n$context->filter(\ +&ne... ok 109 - template text 53 matched expected ok 110 - template text 54 processed OK: [% PERL %]\n$context->define_f +ilt... ok 111 - template text 54 matched expected ok 112 - template text 55 processed OK: [% FILTER another(3) -%]\nfoo +bar... ok 113 - template text 55 matched expected ok 114 - template text 56 processed OK: [% '$stash->{ a } = 25' FILTER + e... ok 115 - template text 56 matched expected ok 116 - template text 57 processed OK: [% '$stash->{ a } = 25' FILTER + p... ok 117 - template text 57 matched expected ok 118 - template text 58 processed OK: [% FILTER indent -%]\nThe cat +sat... ok 119 - template text 58 matched expected ok 120 - template text 59 processed OK: [% FILTER indent(2) -%]\nThe c +at ... ok 121 - template text 59 matched expected ok 122 - template text 60 processed OK: [% FILTER indent('>> ') -%]\nT +he ... ok 123 - template text 60 matched expected ok 124 - template text 61 processed OK: [% text = 'The cat sat on the +ma... ok 125 - template text 61 matched expected ok 126 - template text 62 processed OK: <<[% FILTER trim %]\n \n + ... ok 127 - template text 62 matched expected ok 128 - template text 63 processed OK: <<[% FILTER collapse %]\n \n + ... ok 129 - template text 63 matched expected ok 130 - template text 64 processed OK: [% FILTER format('++%s++') %]H +el... ok 131 - template text 64 matched expected ok 132 - template text 65 processed OK: [% "my file.html" FILTER uri % +] ok 133 - template text 65 matched expected ok 134 - template text 66 processed OK: [% "my<file & your>file.html" +FI... ok 135 - template text 66 matched expected ok 136 - template text 67 processed OK: [% "my<file & your>file.html" +| ... ok 137 - template text 67 matched expected ok 138 - template text 68 processed OK: [% "guitar&file.html" | ur +i ... ok 139 - template text 68 matched expected ok 140 - template text 69 processed OK: [% "guitar&file.html" | ur +i ... ok 141 - template text 69 matched expected ok 142 - template text 70 processed OK: [% 'foobar' | ucfirst %] ok 143 - template text 70 matched expected ok 144 - template text 71 processed OK: [% 'FOOBAR' | lcfirst %] ok 145 - template text 71 matched expected ok 146 - t/test/tmp/xyz exists FAILED test 87 Failed 1/146 tests, 99.32% okay t\gd..........1..11 ok 1 - running test_expect() ok 2 - template processor is engaged ok 3 - input read and split into 4 tests ok 4 - template text 1 processed OK: [% FILTER replace('.');\n #\n + ... ok 5 - template text 1 matched expected ok 6 - template text 2 processed OK: [% FILTER replace('.');\n #\n + ... ok 7 - template text 2 matched expected ok 8 - template text 3 processed OK: [% FILTER replace('.');\n #\n + ... MATCH FAILED input: [[% FILTER replace('.');\n #\n # This is test4 from GD-1 +.xx/t/GD.t\n #\n USE im = GD.Image(225,180); \n black = im.colorAllocate(0, 0, 0);\n white = im.colorAllo +cate(255, 255, 255);\n red = im.colorAlloca te(255, 0, 0);\n blue = im.colorAllocate(0,0,255);\n yellow += im.colorAllocate(255,250,205);\n USE poly = G D.Polygon;\n poly.addPt(0,50);\n poly.addPt(25,25);\n poly.ad +dPt(50,50);\n im.filledPolygon(poly,blue);\n poly.offset(100,100);\n im.filledPolygon(poly,red);\n poly.map( +50,50,100,100,10,10,110,60);\n im.filledPolygon (poly,yellow);\n b = poly.bounds; b0 = b.0; b1 = b.1; b2 = b.2; b3 += b.3;\n poly.map(b0,b1,b2,b3,50,20,80,160);\n im.filledPolygon(poly,white);\nEND; -%][% im.png | hex -%]\n] FAILED 9: - template text 3 did not match expected expect: [89504e470d0a1a0a0000000d49484452000000e1000000b4040300000090d +e560d0000\n000f504c5445000000ffffffff00000000fffff acda03f5b3b0000022349444154789c\neddad96d84500c85e1591a081d4454108906f +2e0fe6bca2c2c77b70df615d19cd3c0a7\nff010b242e170cc 3300cc3b00fdd15224476f7eee2f4d359bc4f5367719a0a919ee223\nb110e9293ec13 +c72f872035f8979a4a3f806b3483f714ecc22fdc4054c23ddc 435318d\n7413373089f41283c424d24b0cc138d2498c12a3c8eb30b8883118463a894 +96218e924\na66010e923668941a48f98835ba48b5848dc225 dc412b8467a88c5c435d2432c834be4\n30981f9d4ae212e920d6c039d24164061122c +4ca1e47cee9b503224488e7179f60dfa3\n031122c4d388af9 3d3f5e8408408f15f8bbfc7c437a8397344c748b5487490d48a4447\n49a5487498d48 +944c749954864406a44220b52211299907231057792f3c9111 c9d1cdc\n478ac512b88b948a65700f29146be00e5226d6413d29125ba09a94886d504 +b0a440e54\n92bcc8833a7201ab474702aa484e94811a9211a 5a0826c8b72504e36450d28265ba20e\n94920d510b0a49f6e930df0788eb91ebf6750 +51122c4f3881bd8ebe89c52bc7517c7ef\ncee26d1c3b8be36 81bc98a8f44db48567c82a6919cf84ab48c0c4e4ef9e8bc41c3484e\n9c130d2339710 +1ed2219714db48b64c40d348b6c8b41a259645b0c41abc8a61 8255a45\n36c518348a6c8949a2516408a6672e056d221b62966813d91073d024b22e1 +6124d22eb\n6209b488ac8ac5448bc8aa58060d226b6225d12 0b226d6c0c391d1c9e9f2ad031122c4\nf38831d8fbaf720cc3300cc3b0a3fb03d69b6 +99bd4e71fcb0000000049454e44ae4260\n82] output: [89504e470d0a1a0a0000000d49484452000000e1000000b4040300000090d +e560d0000\n000f504c5445000000ffffffff00000000fffff acda03f5b3b0000022949444154789c\nedd7496ec3300c85e1a4b9407d83c22728e00 +b74c1fb9fa9193c48964491162964786f\ne9cd873f3088f87 4c2300cc3300cfbd09d2142acee9279367c7b8ad36f67f1324d9dc5\n69ca447a8ad7c +44ca4a77803d34847f19e98463a8a0f3089f413e7c424d24f5 cc07de4\n3038816be22ef2ec266e601ce926068971a49b188251a497182546915e620 +c86914ee2\n2e318c7412f76010e923268941a48f98825be43 0389cb94ce216e922e6c035d243cc26\nae911e621e5c221dc442e212e92096c039d2e +5cd61f701e2f5e4b8fd09800811e24b88\n5d8fce001122c4c f15ef27a7eb99830811e2f3880fb0e7d181f824e25f6f91a88d548b\n448da456246a2 +595225133398bc2a343d44c9e5522513ba912890c488d48644 12ac43d\n7890948b29788c148b39f0102915f3e011522896c003a44c2c837a7201d93 +3c7816a52\n22f2a0961488355049d6c53aa823aba20454913 551066ac88a280515242fca4139c98a\n1a504aae2727777474a090e4442d2823d9469 +74184f88262a7afe40122c4f711bfba8b\ne34f67f16b1c2dc 1e0e494cedc389a46d6c56ba269645dbc81969155f19e681959151f\na061644d9c130 +d236be202da4556c435d12eb2226ea0596408a6472748348be 4c510b4\n8a64c528d12a921563d0289213778946919cb8076d22193149b48964c4143 +4892c8b99\n4493c8488c8e4e0e34883c17c56ca2416459cc8 3ed9145b190d81e59144b607364f957\nf51ac4f71063b0c71724c4f710310cc3300cc +32cf70f57816e5ac8d4c7d10000000049\n454e44ae426082] not ok 9 - template text 3 did not match expected ok 10 - template text 4 processed OK: [% FILTER replace('.');\n #\n + ... ok 11 - template text 4 matched expected FAILED test 9 Failed 1/11 tests, 90.91% okay t\provider....1..56 ok 1 ok 2 ok 3 ok 4 ok 5 ok 6 ok 7 ok 8 ok 9 ok 10 ok 11 ok 12 ok 13 ok 14 ok 15 ok 16 ok 17 ok 18 ok 19 - dynamic path (sub) template object created ok 20 - dynamic path (obj) template object created ok 21 - dynamic path (bad) template object created ok 22 - running test_expect() ok 23 - template processor is engaged ok 24 - input read and split into 16 tests ok 25 - template text 1 processed OK: [% TRY %]\n[% INCLUDE foo %]\n[% + I... ok 26 - template text 1 matched expected ok 27 - template text 2 processed OK: [% TRY %]\n[% INCLUDE foo %]\n[% + I... ok 28 - template text 2 matched expected ok 29 - template text 3 processed OK: [% TRY %]\n[% INSERT foo +%]\n[% + I... ok 30 - template text 3 matched expected ok 31 - template text 4 processed OK: [% TRY %]\n[% INCLUDE $relfile % +]... ok 32 - template text 4 matched expected Template process failed: Template::Constants::ERROR_FILE error - C:/ne +w/Template-Toolkit-2.09/t/test/src/foo: absolute p aths are not allowed (set ABSOLUTE option) FAILED 33: - template text 5 process FAILED: [% TRY %]\n[% INCLUDE $r +elfile -%... not ok 33 - template text 5 process FAILED: [% TRY %]\n[% INCLUDE $rel +file -%... FAILED 34: - (obviously did not match expected) not ok 34 - (obviously did not match expected) ok 35 - template text 6 processed OK: foo: [% TRY; INSERT foo; CA +... ok 36 - template text 6 matched expected ok 37 - template text 7 processed OK: [% TRY %]\n[% INCLUDE $absfile % +]... ok 38 - template text 7 matched expected Template process failed: Template::Constants::ERROR_FILE error - ./t/t +est/src/foo: relative paths are not allowed (set R ELATIVE option) FAILED 39: - template text 8 process FAILED: [% TRY %]\n[% INCLUDE $a +bsfile %]... not ok 39 - template text 8 process FAILED: [% TRY %]\n[% INCLUDE $abs +file %]... FAILED 40: - (obviously did not match expected) not ok 40 - (obviously did not match expected) ok 41 - template text 9 processed OK: foo: [% TRY; INSERT foo; CA +... ok 42 - template text 9 matched expected ok 43 - template text 10 processed OK: [% INCLUDE foobar %] ok 44 - template text 10 matched expected ok 45 - template text 11 processed OK: [% CALL fixfile('This is the ne +w... ok 46 - template text 11 matched expected ok 47 - template text 12 processed OK: foo: [% PROCESS foo | trim +%]\ +nb... ok 48 - template text 12 matched expected ok 49 - template text 13 processed OK: foo: [% INSERT foo | trim +%]\n +ba... ok 50 - template text 13 matched expected ok 51 - template text 14 processed OK: foo: [% PROCESS foo | trim +%]\ +nb... ok 52 - template text 14 matched expected ok 53 - template text 15 processed OK: foo: [% INSERT foo | trim +%]\n +ba... ok 54 - template text 15 matched expected ok 55 - template text 16 processed OK: [% TRY; INCLUDE foo; CATCH; e; +E... MATCH FAILED input: [[% TRY; INCLUDE foo; CATCH; e; END %]\n] eFAILED 56: - template text 16 did not match expected xpect: [file error - INCLUDE_PATH exceeds 42 directories] output: [Template::Constants::ERROR_FILE error - INCLUDE_PATH exceeds +42 directories] not ok 56 - template text 16 did not match expected FAILED tests 33-34, 39-40, 56 Failed 5/56 tests, 91.07% okay Failed Test Stat Wstat Total Fail Failed List of Failed ---------------------------------------------------------------------- +--------- t\compile3.t 13 1 7.69% 12 t\filter.t 146 1 0.68% 87 t\gd.t 11 1 9.09% 9 t\provider.t 56 5 8.93% 33-34 39-40 56 Failed 4/4 test scripts, 0.00% okay. 8/226 subtests failed, 96.46% oka +y. NMAKE : fatal error U1077: 'C:\Perl\bin\perl.exe' : return code '0xff' Stop. C:\new\Template-Toolkit-2.09>
|
|---|