Skip Menu |

This queue is for tickets about the Template-Plugin-Autoformat CPAN distribution.

Report information
The Basics
Id: 75335
Status: resolved
Priority: 0/
Queue: Template-Plugin-Autoformat

People
Owner: karman [...] cpan.org
Requestors: maik.hentsche [...] amd.com
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: (no value)
Fixed in: (no value)



Subject: Test fails in t/autoform.t
Hi, installing Template::Plugin::Autoformat fails for me with Perl 5.14.2. I have attached a prove -vl output at the end of this report. This issue seems to be different from the 3 year old bug that RT finds for t/ autoform.t Therefore, I opened a new ticket. Show quoted text
---------------- prove output ------------------------ hmai@siegfried ~/.cpan/build/Template-Plugin-Autoformat-2.71-eVUJI1> prove -vl t/autoform.t t/autoform.t .. 1..25 ok 1 - running test_expect() ok 2 - template processor is engaged ok 3 - input read and split into 11 tests ok 4 - template text 1 processed OK: [% global.text = BLOCK %]\nThis i... ok 5 - template text 1 matched expected Template process failed: plugin error - autoformat: plugin not found not ok 6 - template text 2 process FAILED: [% USE autoformat(left=5) %]\n[% ... not ok 7 - (obviously did not match expected) FAILED 6: - template text 2 process FAILED: [% USE autoformat(left=5) %]\n[% ... FAILED 7: - (obviously did not match expected) Template process failed: plugin error - autoformat: plugin not found not ok 8 - template text 3 process FAILED: [% USE autoformat %]\n[% autoform... not ok 9 - (obviously did not match expected) FAILED 8: - template text 3 process FAILED: [% USE autoformat %]\n[% autoform... FAILED 9: - (obviously did not match expected) Template process failed: plugin error - autoformat: plugin not found not ok 10 - template text 4 process FAILED: [% USE autoformat(left=10) %]\n[%... not ok 11 - (obviously did not match expected) FAILED 10: - template text 4 process FAILED: [% USE autoformat (left=10) %]\n[%... FAILED 11: - (obviously did not match expected) Template process failed: plugin error - autoformat: plugin not found not ok 12 - template text 5 process FAILED: [% USE autoformat(left=5) %]\n[% ... not ok 13 - (obviously did not match expected) FAILED 12: - template text 5 process FAILED: [% USE autoformat(left=5) %]\n[% ... FAILED 13: - (obviously did not match expected) Template process failed: plugin error - autoformat: plugin not found not ok 14 - template text 6 process FAILED: [% USE autoformat %]\n[% FILTER a... not ok 15 - (obviously did not match expected) not ok 16 - template text 7 process FAILED: [% USE autoformat %]\n[% autoform... not ok 17 - (obviously did not match expected) FAILED 14: - template text 6 process FAILED: [% USE autoformat %]\n[% FILTER a... FAILED 15: - (obviously did not match expected) Template process failed: plugin error - autoformat: plugin not found FAILED 16: - template text 7 process FAILED: [% USE autoformat %]\n[% autoform... FAILED 17: - (obviously did not match expected) Template process failed: plugin error - autoformat: plugin not found not ok 18 - template text 8 process FAILED: [% USE autoformat %]\n[% autoform... not ok 19 - (obviously did not match expected) FAILED 18: - template text 8 process FAILED: [% USE autoformat %]\n[% autoform... FAILED 19: - (obviously did not match expected) Template process failed: plugin error - autoformat: plugin not found not ok 20 - template text 9 process FAILED: [% USE autoformat %]\n[% FILTER p... not ok 21 - (obviously did not match expected) FAILED 20: - template text 9 process FAILED: [% USE autoformat %]\n[% FILTER p... FAILED 21: - (obviously did not match expected) Template process failed: plugin error - autoformat: plugin not found not ok 22 - template text 10 process FAILED: Item Description C... not ok 23 - (obviously did not match expected) FAILED 22: - template text 10 process FAILED: Item Description C... FAILED 23: - (obviously did not match expected) Template process failed: plugin error - autoformat: plugin not found not ok 24 - template text 11 process FAILED: [% USE autoformat(form => '>>>.<... not ok 25 - (obviously did not match expected) FAILED 24: - template text 11 process FAILED: [% USE autoformat(form => '>>>.<... FAILED 25: - (obviously did not match expected) Failed 20/25 subtests Test Summary Report ------------------- t/autoform.t (Wstat: 0 Tests: 25 Failed: 20) Failed tests: 6-25 Files=1, Tests=25, 0 wallclock secs ( 0.06 usr 0.01 sys + 0.26 cusr 0.03 csys = 0.36 CPU) Result: FAIL
From: david [...] audacitas.com
I experienced this too yesterday. Although I have no idea why, it happens when installing under a Perl built with threads. I tested this using perlbrew and working with pristine installs of version 5.10.1. Maybe this helps.
version 2.74_01 has been uploaded to PAUSE, which fixes the case problems in the plugin detection by standardizing on initial cap spelling.
version 2.75 just uploaded to CPAN should resolve this.