X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=xt%2Fauthor%2Ftest-my-dependents.t;h=f6a9409bf273f918a661112d11a72cc6551b23ef;hb=50589f303dc8389624f981cb62a14a76cd6d100a;hp=65ddd64ded47226d516752893842549df1b4b134;hpb=21f9bca6754090cb1b2ca61fbfe460545c649eb9;p=gitmo%2FMoose.git diff --git a/xt/author/test-my-dependents.t b/xt/author/test-my-dependents.t index 65ddd64..f6a9409 100644 --- a/xt/author/test-my-dependents.t +++ b/xt/author/test-my-dependents.t @@ -6,19 +6,21 @@ use Test::More; BEGIN { my $help = <<'EOF'; +This test will not run unless you set MOOSE_TEST_MD to a true value. - - This test will not run unless you set MOOSE_TEST_MD to a true value. Valid values are: - all Test every distro which depends on Moose except those that we know - cannot be tested. This is a lot of distros (thousands). + all Test every dist which depends on Moose except those + that we know cannot be tested. This is a lot of + distros (thousands). + + Dist::1,Dist::2,... Test the individual dists listed. - MooseX Test all Moose extension distros - (MooseX modules plus a few others). + MooseX Test all Moose extension distros + (MooseX modules plus a few others). - $true Any other true value runs the default tests. We pick 200 random - distros and test them. + 1 Run the default tests. We pick 200 random dists and + test them. EOF @@ -121,9 +123,11 @@ my @dists = sort @{ $res->{hits}{hits} }; if ( $ENV{MOOSE_TEST_MD} eq 'MooseX' ) { - @dists = grep { /^(?:MooseX-|Fey-ORM)/ } @dists; + @dists = grep { + /^(?:MooseX-|(?:Fey-ORM|KiokuDB|Bread-Board|Catalyst-Runtime|Reflex)$)/ + } @dists; } -elsif ( $ENV{MOOSE_TEST_MD} ne 'all' ) { +elsif ( $ENV{MOOSE_TEST_MD} eq '1' ) { diag( <<'EOF' Picking 200 random dependents to test. Set MOOSE_TEST_MD=all to test all @@ -138,6 +142,14 @@ EOF @dists = @dists[ sort keys %indexes ]; } +elsif ( $ENV{MOOSE_TEST_MD} ne 'all' ) { + my @chosen = split /,/, $ENV{MOOSE_TEST_MD}; + my %dists = map { $_ => 1 } @dists; + if (my @unknown = grep { !$dists{$_} } @chosen) { + die "Unknown dists: @unknown"; + } + @dists = @chosen; +} plan tests => scalar @dists; for my $dist (@dists) { @@ -199,6 +211,7 @@ Dist-Zilla-PluginBundle-ARODLAND # no tests Dist-Zilla-PluginBundle-Author-OLIVER # no tests Dist-Zilla-PluginBundle-NUFFIN # no tests Dist-Zilla-Plugin-DualLife # no tests +Dist-Zilla-Plugin-Git-Describe # no tests Dist-Zilla-Plugin-GitFlow # no tests Dist-Zilla-Plugin-GitFmtChanges # no tests Dist-Zilla-Plugin-MetaResourcesFromGit # no tests @@ -225,6 +238,7 @@ OpenDocument-Template # no tests Pod-Weaver-Section-Consumes # no tests Pod-Weaver-Section-Encoding # no tests Pod-Weaver-Section-Extends # no tests +P50Tools # no tests POE-Component-Server-MySQL # no tests Random-Quantum # no tests SchemaEvolution # no tests @@ -237,6 +251,7 @@ WWW-MenuGrinder # no tests WWW-WuFoo # no tests # SKIP: external dependencies +Alien-Ditaa # runs java code AnyEvent-MSN # requires Net::SSLeay (which requires libssl) AnyEvent-Multilog # requires multilog AnyEvent-Net-Curl-Queued # requires libcurl @@ -256,6 +271,7 @@ Crypt-Random-Source-Strong-Win32 # windows only Curses-Toolkit # requires Curses which requires ncurses library Dackup # requires ssh Data-Collector # requires ssh +Data-Riak # requires riak DBIx-PgLink # requires postgres installation Dist-Zilla-Plugin-Subversion # requires svn bindings Dist-Zilla-Plugin-SVK # requires svn bindings @@ -275,6 +291,7 @@ K # requires kx Lighttpd-Control # requires lighttpd Lingua-TreeTagger # requires treetagger to be installed Math-Lsoda # requires f77 +Message-Passing-ZeroMQ # requires zeromq installation MongoDBI # requires mongo MongoDB # requires mongo MSWord-ToHTML # requires abiword to be installed @@ -341,7 +358,11 @@ Date-Biorhythm # Date::Business prompts in Makefile.PL DBIx-VersionedDDL # runs a script with /usr/bin/perl in the shbang line File-Tail-Scribe # tests hang Gearman-Driver # spews tar errors +Gearman-SlotManager # tests hang +IPC-AnyEvent-Gearman # tests hang +Lingua-YALI # runs scripts with /usr/bin/env perl in the shbang line Net-SSH-Mechanize # the mock-ssh script it runs seems to spin endlessly +POE-Component-Server-SimpleHTTP-PreFork # tests hang WWW-Hashdb # test hangs, pegging cpu Zucchini # File::Rsync prompts in Makefile.PL @@ -377,6 +398,7 @@ Catalyst-Plugin-Session-State-Cookie # broken Catalyst-Plugin-Session-Store-TestMemcached # dep with corrupt archive Catalyst-Plugin-SwiffUploaderCookieHack # undeclared dep Catalyst-TraitFor-Request-PerLanguageDomains # dep on ::State::Cookie +CatalystX-ExtJS-Direct # broken CatalystX-I18N # dep on ::State::Cookie CatalystX-MooseComponent # broken CatalystX-SimpleLogin # broken @@ -406,17 +428,22 @@ Devel-Events # broken (role conflict) Dist-Zilla-Deb # pod coverage fail Dist-Zilla-Plugin-ChangelogFromGit-Debian # git::repository is broken Dist-Zilla-Plugin-CheckChangesHasContent # broken +Dist-Zilla-Plugin-Git # tests fail when run in a temp dir +Dist-Zilla-Plugin-PerlTidy # expects to find dzil in the path +Dist-Zilla-Plugin-Pinto-Add # deps on Pinto::Common Dist-Zilla-Plugin-ProgCriticTests # broken Dist-Zilla-Plugin-Test-ReportPrereqs # broken DustyDB # uses old moose apis Dwimmer # broken Facebook-Graph # broken +FCGI-Engine # runs scripts without using $^X Fedora-Bugzilla # deps on nonexistent things FFmpeg-Thumbnail # undeclared dep File-DataClass # XML::DTD is a broken dist File-Stat-Moose # old moose apis File-Tail-Dir # intermittent fails (i think) Form-Factory # uses old moose apis +Form-Sensible # broken FormValidator-Nested # broken Frost # broken Games-Dice-Loaded # flaky tests @@ -431,6 +458,7 @@ HTML-TreeBuilderX-ASP_NET # broken HTTP-Engine-Middleware # missing dep on yaml Image-Robohash # Graphics::Magick doesn't exist JavaScript-Framework-jQuery # coerce with no coercion +Jenkins-NotificationListener # missing dep on File::Read Jifty # Test::WWW::Selenium needs devel::repl JSORB # broken Jungle # broken @@ -441,6 +469,7 @@ marc-moose # broken (only sometimes?) Mail-Summary-Tools # DT::Format::DateManip is broken MediaWiki-USERINFO # broken Metabase-Backend-MongoDB # broken +Metabase-Backend-SQL # broken (I think) Method-Signatures # doesn't like ANY_MOOSE=Moose mobirc # http::engine broken MooseX-Attribute-Prototype # uses old moose apis @@ -449,6 +478,7 @@ MooseX-Documenter # broken MooseX-DOM # "no Moose" unimports confess MooseX-Error-Exception-Class # metaclass compat breakage MooseX-Getopt-Usage # missing dep on Test::Class +MooseX-GTIN # broken (under jenkins, at least) MooseX-Meta-Attribute-Index # old moose apis MooseX-Meta-Attribute-Lvalue # old moose apis MooseX-Role-XMLRPC-Client # requires LWP::Protocol::http which requires libssl @@ -479,7 +509,8 @@ ODG-Record # Test::Benchmark broken Perlbal-Control # proc::processtable doesn't load Pg-BulkCopy # hardcodes /usr/bin/perl Pinto-Common # broken -Pinto-Server # deps on pinto::common +Pinto-Remove # deps on Pinto::Common +Pinto-Server # deps on Pinto::Common Plack-Middleware-Image-Scale # Image::Scale is broken Pod-Parser-I18N # missing dep on Data::Localize POE-Component-CPAN-Mirror-Multiplexer # broken @@ -527,6 +558,7 @@ Test-Pockito # broken Test-SFTP # Term::ReadPassword prompts in tests Test-WWW-Selenium-More # Test::WWW::Selenium needs devel::repl Text-Clevery # broken +Text-Zilla # broken Thorium # depends on Hobocamp TryCatch-Error # broken Verby # deps on poe::component::resourcepool @@ -537,6 +569,7 @@ Webservice-Intermine # broken tests WebService-Yes24 # broken WiX3 # broken WWW-Alltop # XML::SimpleObject configure fail +WWW-Comix # uses ancient Moose::Policy stuff WWW-DataWiki # broken WWW-Fandango # bad dist WWW-FMyLife # broken