X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=xt%2Fauthor%2Ftest-my-dependents.t;h=2ce7bfbd9240ff2472eb34174ede282935c7133c;hb=c62b464255bf22d3a8a8619dffb50bf518b688dd;hp=4add57ca5e093b1a9fae9155ab6f67d97579320f;hpb=72cfef4f86dc0c2f9b1649e16063a12168a2fbdf;p=gitmo%2FMoose.git diff --git a/xt/author/test-my-dependents.t b/xt/author/test-my-dependents.t index 4add57c..2ce7bfb 100644 --- a/xt/author/test-my-dependents.t +++ b/xt/author/test-my-dependents.t @@ -10,10 +10,11 @@ BEGIN { } use Test::Requires { - 'Archive::Zip' => 0, # or else .zip dists won't be able to be installed - 'Test::DependentModules' => '0.09', # skip all if not installed - 'MetaCPAN::API' => '0.33', + 'Archive::Zip' => 0, # or else .zip dists won't be able to be installed + 'Test::DependentModules' => '0.13', + 'MetaCPAN::API' => '0.33', }; + use Test::DependentModules qw( test_module ); use DateTime; @@ -63,11 +64,15 @@ my %skip = map { $_ => 1 } ( 'App-CPAN2Pkg', # tk tests are graphical 'App-USBKeyCopyCon', # gtk tests are graphical 'Bot-Backbone', # poe-loop-ev prompts + 'Cache-Ehcache', # hangs if server exists on port 8080 + 'CatalystX-Imports', # assumes it can write to /tmp/testapp 'CatalystX-Restarter-GTK', # gtk tests are graphical 'CM-Permutation', # OpenGL uses graphics in Makefile.PL + 'CPAN-Source', # assumes it can write to /tmp/.cache 'Dackup', # depends on running ssh 'Data-Collector', # depends on running ssh 'Date-Biorhythm', # Date::Business prompts in Makefile.PL + 'DBIx-PgLink', # prompts for a postgres password 'Forest-Tree-Viewer-Gtk2', # gtk tests are graphical 'Games-Pandemic', # tk tests are graphical 'Games-RailRoad', # tk tests are graphical @@ -77,6 +82,7 @@ my %skip = map { $_ => 1 } ( 'iTransact-Lite', # tests rely on internet site 'Log-Dispatch-Gtk2-Notify', # gtk tests are graphical 'LPDS', # gtk tests are graphical + 'Net-SSH-Mechanize', # the mock-ssh script it runs seems to spin endlessly 'Net-SFTP-Foreign-Exceptional', # depends on running ssh 'Periscope', # gtk tests are graphical 'POE-Component-OpenSSH', # depends on running ssh @@ -118,12 +124,26 @@ my %name_fix = ( 'X11-XCB' => 'X11::XCB::Connection', 'XML-Ant-BuildFile' => 'XML::Ant::BuildFile::Project', ); + my @dists = sort grep { !$skip{$_} } grep { my $dist = $_; !any { $dist =~ /^$_-/ } @skip_prefix } map { $_->{fields}{distribution} } @{ $res->{hits}{hits} }; +unless ( $ENV{MOOSE_TEST_MD} eq 'all' ) { + diag( + 'Picking 200 random dependents to test. Set MOOSE_TEST_MD=all to test all dependents' + ); + + my %indexes; + while ( keys %indexes < 200 ) { + $indexes{ int rand( scalar @dists ) } = 1; + } + + @dists = @dists[ sort keys %indexes ]; +} + plan tests => scalar @dists; for my $dist (@dists) { note($dist); @@ -147,6 +167,7 @@ __DATA__ Alice # couldn't find on cpan Hopkins # couldn't find on cpan PostScript-Barcode # couldn't find on cpan +WWW-Mechanize-Query # couldn't find on cpan # doesn't install deps properly (test::dm bugs?) App-Benchmark-Accessors # Mojo::Base isn't installed @@ -163,6 +184,7 @@ mobirc # HTTP::Session::State::GUID isn't instal Net-Bamboo # XML::Tidy isn't installed Tatsumaki-Template-Markapl # Tatsumaki::Template isn't installed Text-Tradition # Bio::Phylo::IO isn't installed +WebService-Strava # Any::URI::Escape isn't installed # no tests AI-ExpertSystem-Advanced # no tests @@ -219,17 +241,21 @@ WWW-MenuGrinder # no tests WWW-WuFoo # no tests # external dependencies +AnyEvent-Multilog # requires multilog +AnyEvent-Net-Curl-Queued # requires libcurl AnyEvent-ZeroMQ # requires zeromq installation AnyMQ-ZeroMQ # requires zeromq installation Apache2-HttpEquiv # requires apache (for mod_perl) App-Mimosa # requires fastacmd App-PgCryobit # requires postgres installation Archive-RPM # requires cpio +Bot-Jabbot # requires libidn Catalyst-Engine-Stomp # depends on alien::activemq Catalyst-Plugin-Session-Store-Memcached # requires memcached Cave-Wrapper # requires cave to be installed CHI-Driver-Redis # requires redis server Crypt-Random-Source-Strong-Win32 # windows only +Curses-Toolkit # requires Curses which requires ncurses library Dackup # requires ssh Data-Collector # requires ssh DBIx-PgLink # requires postgres installation @@ -238,10 +264,12 @@ Dist-Zilla-Plugin-SVK # requires svn bindings Dist-Zilla-Plugin-SvnObtain # requires svn bindings Fedora-App-MaintainerTools # requires rpm to be installed Fedora-App-ReviewTool # requires koji to be installed +Fuse-Template # requires libfuse Games-HotPotato # requires sdl Games-Tetris-Complete # requires threads helm # requires ssh HTML-Barcode-QRCode # requires libqrencode +IRC-RemoteControl # requires libssh2 JavaScript-Sprockets # requires sprocketize JavaScript-V8x-TestMoreish # requires v8 Koha-Contrib-Tamil # requires yaz @@ -252,7 +280,10 @@ Math-Lsoda # requires f77 MongoDBI # requires mongo MongoDB # requires mongo MSWord-ToHTML # requires abiword to be installed +Net-DBus-Skype # requires dbus Net-Route # requires route +Net-UpYun # requires curl +Net-ZooTool # requires curl Nginx-Control # requires nginx to be installed NLP-Service # requires javac Padre-Plugin-Moose # requires threaded perl @@ -271,6 +302,11 @@ SimpleDB-Class # requires memcached SVN-Simple-Hook # requires svn SVN-Tree # requires svn Template-JavaScript # requires v8 +TheSchwartz-Moosified # requires DBI::Pg ? +WebService-SendGrid # requires curl +WebService-Tesco-API # requires curl +WWW-Contact # depends on curl +WWW-Curl-Simple # requires curl ZeroMQ-PubSub # requires zmq ZMQ-Declare # requires zmq @@ -319,6 +355,7 @@ App-Validation-Automation # dep on Switch App-Wubot # broken Beagle # depends on term::readline::perl Bot-Backbone # poe-loop-ev prompts +Cache-Ehcache # hangs if server exists on port 8080 Cache-Profile # broken Catalyst-Authentication-Store-LDAP-AD-Class # pod coverage fail Catalyst-Controller-Resources # broken @@ -371,7 +408,8 @@ File-Tail-Dir # intermittent fails (i think) Form-Factory # uses old moose apis FormValidator-Nested # broken Frost # broken -Gitalist # deps on mxms +Games-Dice-Loaded # flaky tests +Gitalist # broken GOBO # coerce with no coercion Google-Chart # recreating type constraints Google-Spreadsheet-Agent # pod::coverage fail @@ -401,7 +439,6 @@ MooseX-Error-Exception-Class # metaclass compat breakage MooseX-Getopt-Usage # missing dep on Test::Class MooseX-Meta-Attribute-Index # old moose apis MooseX-Meta-Attribute-Lvalue # old moose apis -MooseX-Method-Signatures # broken MooseX-Struct # ancient moose apis MooseX-Types-Parameterizable # broken MouseX-Types # broken (with moose) @@ -419,7 +456,9 @@ Net-Journyx # broken Net-Mollom # broken Net-Parliament # broken Net-Plurk # broken +Net-SSLeay-OO # broken Net-StackExchange # broken +Norma # fails when trying to write to a read-only SQLite db file under jenkins, also fails when run manually ODG-Record # Test::Benchmark broken Perlbal-Control # proc::processtable doesn't load Pg-BulkCopy # hardcodes /usr/bin/perl @@ -433,6 +472,7 @@ POE-Component-DirWatch-Object # intermittent failures POE-Component-ResourcePool # broken POE-Component-Server-PSGI # broken deps POE-Component-Server-SimpleHTTP-PreFork # broken deps +Poet # missing dep on Log::Any::Adapter::Log4perl POEx-ProxySession # broken deps POEx-PubSub # broken deps POEx-WorkerPool # broken deps @@ -453,6 +493,7 @@ Shipment # locale::subcountry is broken Silki # image::magick is broken SilkiX-Converter-Kwiki # file::mimeinfo expects (?-xism: Sloth # rest::utils is broken +Sque # couldn't fork server for testing SRS-EPP-Proxy # depends on xml::epp String-Blender # broken TAEB # broken @@ -476,10 +517,11 @@ Verby # deps on poe::component::resourcepool Weather-TW # missing dep on Mojo::DOM Web-API-Mapper # broken WebNano-Controller-CRUD # broken +Webservice-Intermine # broken tests WebService-Yes24 # broken WiX3 # broken WWW-Alltop # XML::SimpleObject configure fail -WWW-DataWiki # depends on mxms +WWW-DataWiki # broken WWW-Fandango # bad dist WWW-FMyLife # broken WWW-Hashdb # test hangs, pegging cpu @@ -493,5 +535,6 @@ WWW-Yahoo-Lyrics-JP # broken XIRCD # undeclared deps XML-EPP # coerce without coercion XML-SRS # deps on prang +XML-Writer-Compiler # broken tests Yukki # git::repository is broken Zucchini # File::Rsync prompts in Makefile.PL