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=1a981454a33d4b2b97987f6eec1bc82e10ed9067;hpb=cfac852c06446de13b1917ae64a581b5ab218f2d;p=gitmo%2FMoose.git diff --git a/xt/author/test-my-dependents.t b/xt/author/test-my-dependents.t index 1a98145..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,9 @@ 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