Skip Menu |

This queue is for tickets about the Class-Accessor-Named CPAN distribution.

Report information
The Basics
Id: 23814
Status: resolved
Priority: 0/
Queue: Class-Accessor-Named

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

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



Subject: [PATCH] Skip t/01-dependencies.t if Test::Dependencies is not installed
There is a problem currently with a prerequisite of Test::Dependencies where it cannot be installed with bleadperl. Rather than force the failure of Class::Accessor::Named and everything that depends on it, like Jifty, the attached pass skips t/01-dependencies.t if Test::Dependencies is not installed, rather than fail the install. --- 01-dependencies.t.1 2006-09-05 19:35:21.000000000 -0500 +++ 01-dependencies.t 2006-12-05 14:50:06.000000000 -0600 @@ -1,4 +1,7 @@ -use Test::Dependencies exclude => -[qw/ Class::Accessor::Named /]; - +use Test::More; +eval qq { + use Test::Dependencies exclude => + [qw/ Class::Accessor::Named /]; +}; +plan skip_all => "Test::Dependencies required for this test" if $@; ok_dependencies();