From: Dave Rolsky Date: Mon, 28 Dec 2009 20:21:41 +0000 (-0600) Subject: test just a subset of our deps by default (list taken from cpan stable smolder) X-Git-Tag: 0.93_01~20 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=c5e3151e80216c3e72a5b73a1648416793d14e79;p=gitmo%2FMoose.git test just a subset of our deps by default (list taken from cpan stable smolder) --- diff --git a/xt/author/test-my-dependents.t b/xt/author/test-my-dependents.t index aab6ffc..243aada 100644 --- a/xt/author/test-my-dependents.t +++ b/xt/author/test-my-dependents.t @@ -7,7 +7,7 @@ use Test::More; plan skip_all => 'This test will not run unless you set MOOSE_TEST_MD to a true value' unless $ENV{MOOSE_TEST_MD}; -eval 'use Test::DependentModules qw( test_all_dependents );'; +eval 'use Test::DependentModules qw( test_all_dependents test_module );'; plan skip_all => 'This test requires Test::DependentModules' if $@; @@ -15,4 +15,109 @@ $ENV{PERL_TEST_DM_LOG_DIR} = abs_path('.'); my $exclude = qr/^Acme-/x; -test_all_dependents( 'Moose', { exclude => $exclude } ); +if ( $ENV{MOOSE_TEST_MD_ALL} ) { + test_all_dependents( 'Moose', { exclude => $exclude } ); +} +else { + my @modules = map { chomp; $_ } ; + test_module($_) for @modules; + done_testing; +} + +__DATA__ +Moose::Autobox +MooseX::ABC +MooseX::Accessors::ReadWritePrivate +MooseX::Aliases +MooseX::App::Cmd +MooseX::Async +MooseX::Attribute::ENV +MooseX::AttributeHelpers +MooseX::AttributeInflate +MooseX::Attribute::Prototype +MooseX::Attributes::Curried +MooseX::Blessed::Reconstruct +MooseX::ClassAttribute +MooseX::Clone +MooseX::ConfigFromFile +MooseX::Constructor::AllErrors +MooseX::Contract +MooseX::Control +MooseX::CurriedHandles +MooseX::Daemonize +MooseX::Declare +MooseX::DeepAccessors +MooseX::Emulate::Class::Accessor::Fast +MooseX::FollowPBP +MooseX::Getopt +MooseX::GlobRef +MooseX::GlobRef::Object +MooseX::HasDefaults +MooseX::Has::Sugar +MooseX::InsideOut +MooseX::InstanceTracking +MooseX::Iterator +MooseX::KeyedMutex +MooseX::LazyLogDispatch +MooseX::LogDispatch +MooseX::Log::Log4perl +MooseX::MakeImmutable +MooseX::Mangle +MooseX::Meta::TypeConstraint::ForceCoercion +MooseX::MethodAttributes +MooseX::Method::Signatures +MooseX::MultiInitArg +MooseX::MultiMethods +MooseX::MutatorAttributes +MooseX::NonMoose +MooseX::Object::Pluggable +MooseX::Param +MooseX::Params::Validate +MooseX::Plaggerize +MooseX::POE +MooseX::Policy::SemiAffordanceAccessor +MooseX::Q4MLog +MooseX::Role::Cmd +MooseX::Role::Matcher +MooseX::Role::Parameterized +MooseX::Role::XMLRPC::Client +MooseX::SemiAffordanceAccessor +MooseX::SimpleConfig +MooseX::Singleton +MooseX::SingletonMethod +MooseX::Storage +MooseX::Storage::Format::XML::Simple +MooseX::StrictConstructor +MooseX::Struct +MooseX::Templated +MooseX::Timestamp +MooseX::Traits +MooseX::Types +MooseX::Types::Authen::Passphrase +MooseX::Types::Common +MooseX::Types::Data::GUID +MooseX::Types::DateTime +MooseX::Types::IO +MooseX::Types::Path::Class +MooseX::Types::Set::Object +MooseX::Types::Structured +MooseX::Types::URI +MooseX::Types::UUID +MooseX::Types::VariantTable +MooseX::WithCache +MooseX::Workers +MooseX::YAML +Fey::ORM +KiokuDB +Catalyst +Chart::Clicker +TryCatch +Bread::Board +Devel::REPL +IM::Engine +NetHack::Item +Forest +App::Nopaste +CHI +Data::Visitor +namespace::autoclean