On Mon Apr 07 20:49:11 2008, coke wrote:
> 
> Can you try upgrading to Perl::Critic 1.082 (cpan-latest) and see if
> that works for you?
> 

This is very strange.  On Linux, at r26853, with Perl::Critic $VERSION =
'1.082', calling 'make test', I get:


t/codingstd/perlcritic.........................skipped: Perl::Critic not
installed

But if I try to run the test directly, Perl::Critic is successfully located:

$ prove t/codingstd/perlcritic.t 
t/codingstd/perlcritic......ok     
All tests successful.
Files=1, Tests=15, 28 wallclock secs ( 0.02 usr  0.00 sys + 23.64 cusr 
0.10 csys = 23.76 CPU)
Result: PASS

Similar results on Darwin:

$ prove t/codingstd/perlcritic.t 
t/codingstd/perlcritic......# Perl::Critic::Bangs not installed: not
testing for TODO items in code
t/codingstd/perlcritic......ok     
All tests successful.
Files=1, Tests=14, 138 wallclock secs ( 0.03 usr  0.02 sys + 113.64 cusr
 2.48 csys = 116.17 CPU)
Result: PASS



So why is 'make test' failing to find Perl::Critic when 'prove' does so
handily?

kid51



Reply via email to