Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Perl-Critic CPAN distribution.

Report information
The Basics
Id: 42087
Status: resolved
Priority: 0/
Queue: Perl-Critic

People
Owner: Nobody in particular
Requestors: RSOD [...] cpan.org
Cc:
AdminCc:

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



Subject: 1.094 t/20_policies dies on test #1716 - "There are no enabled policies"
Date: Thu, 1 Jan 2009 17:39:38 -0800
To: bug-Perl-Critic [...] rt.cpan.org
From: "Richard Soderberg" <rsod [...] cpan.org>
Hi, I tried to install Perl::Critic on my vanilla OS X perl installation (the distro perl that ships with OS X). It had never run CPAN before, so I configured it, let it install about 20 dependencies, and then Perl::Critic aborted during t/20_policies after test #1715 (reproducible). All of the other tests besides t/20 passed okay. "There are no enabled policies" seems to be the key error message. I tried distclean and make manually with no change in result. Various output is below for review. Please let me know if I may be of any assistance. - R. (rsod@cpan.org) # prove -bvd t/20_policies.t ok 1713 - RegularExpressions::ProhibitCaptureWithoutTest - line 79 - Regression for PPI::Statement::Expressions ok 1714 - RegularExpressions::ProhibitCaptureWithoutTest - line 89 - Regression for ternaries with structures ok 1715 - Perl::Critic::Policy::RegularExpressions::ProhibitComplexRegexes->can('violates') There are no enabled policies.# Looks like you planned 2294 tests but ran 1715. # Looks like your test exited with 2 just after 1715. dubious Test returned status 2 (wstat 512, 0x200) DIED. FAILED tests 1716-2294 ok 1713 - RegularExpressions::ProhibitCaptureWithoutTest - line 79 - Regression for PPI::Statement::Expressions ok 1714 - RegularExpressions::ProhibitCaptureWithoutTest - line 89 - Regression for ternaries with structures ok 1715 - Perl::Critic::Policy::RegularExpressions::ProhibitComplexRegexes->can('violates') at t/20_policies.t line 149 main::evaluate_test_results('HASH(0xd9061c)', 'RegularExpressions::ProhibitComplexRegexes - line 8 - basic p...', 'Perl::Critic::Exception::Configuration::Generic=HASH(0xf57f60)', 'ARRAY(0x9f85f8)') called at t/20_policies.t line 80 # Looks like you planned 2294 tests but ran 1715. # Looks like your test exited with 2 just after 1715. Debugged program terminated. Use q to quit or R to restart, # perl -V Summary of my perl5 (revision 5 version 8 subversion 8) configuration: Platform: osname=darwin, osvers=9.0, archname=darwin-thread-multi-2level uname='darwin omen.apple.com 9.0 darwin kernel version 9.0.0b5: mon sep 10 17:17:11 pdt 2007; root:xnu-1166.6~1release_ppc power macintosh ' config_args='-ds -e -Dprefix=/usr -Dccflags=-g -pipe -Dldflags=-Dman3ext=3pm -Duseithreads -Duseshrplib' hint=recommended, useposix=true, d_sigaction=define usethreads=define use5005threads=undef useithreads=define usemultiplicity=define useperlio=define d_sfio=undef uselargefiles=define usesocks=undef use64bitint=define use64bitall=define uselongdouble=undef usemymalloc=n, bincompat5005=undef Characteristics of this binary (from libperl): Compile-time options: MULTIPLICITY PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP USE_ITHREADS USE_LARGE_FILES USE_PERLIO USE_REENTRANT_API Locally applied patches: fix for regcomp CVE-2007-5116 security vulnerability Built under darwin Compiled at Dec 7 2007 09:37:29
Subject: Re: [rt.cpan.org #42087] 1.094 t/20_policies dies on test #1716 - "There are no enabled policies"
Date: Thu, 01 Jan 2009 19:41:57 -0600
To: bug-Perl-Critic [...] rt.cpan.org
From: Elliot Shank <perl [...] galumph.com>
Fixed in 1.094001. Sorry.