more cleanups of the blacklist, almost done...
[gitmo/Moose.git] / xt / author / test-my-dependents.t
CommitLineData
f81522ba 1use strict;
2use warnings;
3
4use Cwd qw( abs_path );
5use Test::More;
6
52c21688 7BEGIN {
8 plan skip_all => 'This test will not run unless you set MOOSE_TEST_MD to a true value'
9 unless $ENV{MOOSE_TEST_MD};
10}
f81522ba 11
4d438a84 12use Test::Requires {
f578f218 13 'Archive::Zip' => 0, # or else .zip dists won't be able to be installed
03fd72d0 14 'Test::DependentModules' => '0.09', # skip all if not installed
479647ca 15 'MetaCPAN::API' => '0.33',
4d438a84 16};
dd36d4e9 17use Test::DependentModules qw( test_all_dependents test_modules );
f81522ba 18
7028866a 19use DateTime;
479647ca 20use List::MoreUtils qw(any);
7028866a 21use Moose ();
7028866a 22
41a0b2a9 23diag( 'Test run performed at: '
24 . DateTime->now
479647ca 25 . ' with Moose '
41a0b2a9 26 . Moose->VERSION );
7028866a 27
f81522ba 28$ENV{PERL_TEST_DM_LOG_DIR} = abs_path('.');
e2f01bb9 29delete @ENV{ qw( AUTHOR_TESTING RELEASE_TESTING SMOKE_TESTING ) };
f81522ba 30
28885fe7 31$ENV{ANY_MOOSE} = 'Moose';
32
479647ca 33my $mcpan = MetaCPAN::API->new;
34my $res = $mcpan->post(
35 '/release/_search' => {
36 query => { match_all => {} },
37 size => 5000,
38 filter => { and => [
39 { or => [
40 { term => { 'release.dependency.module' => 'Moose' } },
41 { term => { 'release.dependency.module' => 'Moose::Role' } },
42 { term => { 'release.dependency.module' => 'Moose::Exporter' } },
43 { term => { 'release.dependency.module' => 'Class::MOP' } },
44 { term => { 'release.dependency.module' => 'MooseX::Role::Parameterized' } },
28885fe7 45 { term => { 'release.dependency.module' => 'Any::Moose' } },
479647ca 46 ] },
47 { term => { 'release.status' => 'latest' } },
48 { term => { 'release.maturity' => 'released' } },
49 ] },
50 fields => 'distribution'
51 }
52);
f81522ba 53
479647ca 54my %skip = map { $_ => 1 } grep { /\w/ } map { chomp; s/\s*#.*$//; $_ } <DATA>;
55my @skip_prefix = qw(Acme Task Bundle);
56my %name_fix = (
57 'App-PipeFilter' => 'App::PipeFilter::Generic',
58 'Constructible' => 'Constructible::Maxima',
59 'DCOLLINS-ANN-Locals' => 'DCOLLINS::ANN::Robot',
60 'Dist-Zilla-Deb' => 'Dist::Zilla::Plugin::Deb::VersionFromChangelog',
61 'Dist-Zilla-Plugin-TemplateFile' => 'Dist::Zilla::Plugin::TemplateFiles',
62 'Dist-Zilla-Plugins-CJM' => 'Dist::Zilla::Plugin::TemplateCJM',
63 'OWL-Simple' => 'OWL::Simple::Class',
64 'Patterns-ChainOfResponsibility' => 'Patterns::ChainOfResponsibility::Application',
65 'Role-Identifiable' => 'Role::Identifiable::HasIdent',
66 'X11-XCB' => 'X11::XCB::Connection',
67 'XML-Ant-BuildFile' => 'XML::Ant::BuildFile::Project',
68 'helm' => 'Helm',
69 'marc-moose' => 'MARC::Moose',
70 'mobirc' => 'App::Mobirc',
71 'smokebrew' => 'App::SmokeBrew',
72 'v6-alpha' => 'v6',
73);
74my @modules = map { exists $name_fix{$_} ? $name_fix{$_} : $_ }
75 sort
76 grep { !$skip{$_} }
77 grep { my $dist = $_; !any { $dist =~ /^$_-/ } @skip_prefix }
78 map { $_->{fields}{distribution} }
79 @{ $res->{hits}{hits} };
80
81plan tests => scalar @modules;
82test_modules(@modules);
c5e3151e 83
734e40ed 84# Modules that are known to fail
85# PRANG - failing for quite some time (since before 2.0400)
86
c5e3151e 87__DATA__
ec58481b 88# not in cpan index
6e017ae3 89Black-Board # not found on cpan because of mxd
6e017ae3 90Hopkins # not found on cpan (?)
91PostScript-Barcode # not found on cpan (?)
ec58481b 92VirtualBox-Manage # not found on cpan because of mxd
93
94# no tests
95AI-ExpertSystem-Advanced
96API-Assembla
97App-mkfeyorm
98Bot-Applebot
99Catalyst-Authentication-Credential-Facebook-OAuth2
100Catalyst-Authentication-Store-Fey-ORM
101Catalyst-Controller-MovableType
102Catalyst-Model-MenuGrinder
103Net-Dropbox
104Net-Recurly
105POE-Component-Server-MySQL
106Random-Quantum
107SchemaEvolution
108STD
109WebService-Buxfer
110WebService-CloudFlare-Host
479647ca 111
8f655ca2 112# failing for a reason
8f655ca2 113Algorithm-KernelKMeans # mx-types-common changes broke it
e8ba9394 114Alien-ActiveMQ # can't install activemq
8f655ca2 115AnyEvent-Inotify-Simple # ??? (maybe issue with test::sweet)
116AnyEvent-JSONRPC # tests require recommended deps
117AnyEvent-Retry # mx-types-common changes broke it
118AnyEvent-ZeroMQ # requires zeromq installation
ec58481b 119App-CPAN2Pkg # Tk doesn't compile
8f655ca2 120App-Dataninja # bad M::I install in inc/
121App-ForExample # getopt::chain is broken
ec58481b 122App-Fotagger # Imager doesn't compile
8f655ca2 123App-Magpie # deps on URPM which doesn't exist
124App-PgCryobit # requires postgres installation
125App-TemplateServer # broken use of types
126App-TemplateServer-Provider-HTML-Template # dep on app-templateserver
127App-TemplateServer-Provider-Mason # dep on app-templateserver
128App-TemplateServer-Provider-TD # dep on app-templateserver
129App-TimeTracker # git::repository is broken
130App-USBKeyCopyCon # gtk tests are graphical
8f655ca2 131Archive-RPM # requires cpio
132Bio-MAGETAB # datetime-format-datemanip is broken
8f655ca2 133Bot-Backbone # broken deps
134Business-UPS-Tracking # broken
8f655ca2 135Cache-Profile # broken
8f655ca2 136Catalyst-Authentication-Store-LDAP-AD-Class # pod coverage fail
8f655ca2 137Catalyst-Controller-Resources # broken
e8ba9394 138Catalyst-Engine-Stomp # requires alien::activemq
e8ba9394 139Catalyst-Model-Search-ElasticSearch # requires elasticsearch
140Catalyst-Model-Sedna # deps on Alien-Sedna which doesn't exist
141Catalyst-Plugin-Continuation # undeclared dep
142Catalyst-Plugin-ErrorCatcher-ActiveMQ-Stomp # pod coverage fail
143Catalyst-Plugin-SwiffUploaderCookieHack # undeclared dep
144Catalyst-TraitFor-Component-ConfigPerSite # undeclared dep
145Catalyst-TraitFor-Controller-jQuery-jqGrid # bad test (missing files)
146CatalystX-MooseComponent # broken
147CatalystX-Restarter-GTK # gtk tests are graphical
148CatalystX-RoleApplicator # broken
149CatalystX-SimpleAPI # depends on ::RoleApplicator
150CatalystX-SimpleLogin # broken
151CatalystX-Usul # proc::processtable doesn't load
152Cave-Wrapper # requires cave to be installed
153Cheater # parse::randgen is broken
ec58481b 154CHI-Driver-Redis # requires redis server
e8ba9394 155Class-OWL # uses CMOP::Class without loading cmop
ec58481b 156CM-Permutation # OpenGL uses graphics in Makefile.PL
e8ba9394 157Cogwheel # uses ancient moose apis
158Constructible # GD::SVG is a broken dist
159Coro-Amazon-SimpleDB # amazon::simpledb::client doesn't exist
ec58481b 160CPAN-Mini-Webserver # undeclared dep on lingua-stopwords
161CPAN-Patches-Plugin-Debian # configure time failures
162Dackup # depends on running ssh
cf9832d2 163Data-Apache-mod_status # invalid characters in type name
ec58481b 164Data-Collector # depends on running ssh
cf9832d2 165Data-PackageName # broken
166Data-Pipeline # uses ancient moose apis
ec58481b 167Date-Biorhythm # Date::Business prompts in Makefile.PL
cf9832d2 168DayDayUp # MojoX-Fixup-XHTML doesn't exist
ec58481b 169DBICx-Modeler-Generator # broken (weirdly)
170DBIx-PgLink # requires postgres installation
171DBIx-SchemaChecksum # broken
172Debian-Apt-PM # configure time failures
cf9832d2 173Devel-Events # broken (role conflict)
9acdcfbb 174Dist-Zilla-Plugin-ProgCriticTests # broken
175Dist-Zilla-Plugin-SVK # requires svn bindings
176DustyDB # uses old moose apis
177ELF-Extract-Sections # uses stash entries with ::
178ETLp # uses stash entries with ::
9acdcfbb 179Fedora-App-MaintainerTools # requires rpm to be installed
180Fedora-App-ReviewTool # requires koji to be installed
ec58481b 181FFmpeg-Thumbnail # undeclared dep
9acdcfbb 182File-DataClass # XML::DTD is a broken dist
183Finance-Bank-SentinelBenefits-Csv401kConverter # uses stash entries with ::
184Forest-Tree-Viewer-Gtk2 # gtk tests are graphical
185Form-Factory # uses old moose apis
186Frost # broken
9acdcfbb 187Games-Pandemic # tk doesn't build
188Games-RailRoad # tk doesn't build
189Games-Risk # tk doesn't build
190Games-Tetris-Complete # requires threads
191Getopt-Chain # p::d::builder changed dists
ec58481b 192GOBO # coerce with no coercion
9acdcfbb 193Google-Spreadsheet-Agent # pod::coverage fail
ec58481b 194helm # depends on running ssh
9acdcfbb 195Hobocamp # configure_requires needs EU::CChecker
196Horris # App::Horris isn't on cpan
ec58481b 197HTML-TreeBuilderX-ASP_NET # broken
9acdcfbb 198IM-Engine-Plugin-Dispatcher # p::d::declarative changed dists
199JavaScript-Framework-jQuery # coerce with no coercion
200Jungle # broken
201Kamaitachi # pod::coverage fail
202KiokuDB-Backend-Files # broken
ec58481b 203Lingua-TreeTagger # requires treetagger to be installed
9acdcfbb 204Locale-MO-File # broken
205Log-Dispatch-Gtk2-Notify # gtk tests are graphical
9acdcfbb 206Mail-Summary-Tools # DT::Format::DateManip is broken
207MediaWiki-USERINFO # broken
ec58481b 208mobirc # http::engine broken
9acdcfbb 209MooseX-Attribute-Prototype # uses old moose apis
210MooseX-DBIC-Scaffold # needs unreleased sql-translator
9acdcfbb 211MooseX-Documenter # broken
ec58481b 212MooseX-DOM # "no Moose" unimports confess
9acdcfbb 213MooseX-Error-Exception-Class # metaclass compat breakage
214MooseX-Meta-Attribute-Index # old moose apis
215MooseX-Meta-Attribute-Lvalue # old moose apis
216MooseX-Struct # ancient moose apis
217MooseX-TrackDirty-Attributes # old moose apis
ec58481b 218MSWord-ToHTML # requires abiword to be installed
219namespace-alias # won't compile
9acdcfbb 220Net-Douban # broken
9acdcfbb 221Net-FluidDB # broken
222Net-Fluidinfo # broken
ec58481b 223NetHack-Item # NH::Monster::Spoiler is broken
224NetHack-Monster-Spoiler # broken (MX::CA issues)
9acdcfbb 225Net-HTTP-Factual # broken
226Net-Journyx # broken
227Net-Parliament # broken
228Net-Plurk # broken
9acdcfbb 229Net-StackExchange # broken
9acdcfbb 230Nginx-Control # requires nginx to be installed
231ODG-Record # Test::Benchmark broken
ec58481b 232Paludis-UseCleaner # needs cave::wrapper
233Parse-FixedRecord # broken
234Perlanet # HTML::Tidy requires tidyp
235Perlbal-Control # proc::processtable doesn't load
236Perl-Dist-Strawberry-BuildPerl-5123 # windows only
237Perl-Dist-WiX-BuildPerl-5123 # windows only
238Perl-Dist-WiX # windows only
239Pg-BulkCopy # hardcodes /usr/bin/perl
240POE-Component-CPAN-Mirror-Multiplexer # broken
9acdcfbb 241POE-Component-DirWatch-Object # broken
ec58481b 242POE-Component-OpenSSH # depends on running ssh
9acdcfbb 243POE-Component-ResourcePool # broken
9acdcfbb 244POE-Component-Server-PSGI # broken deps
ec58481b 245POE-Component-Server-SimpleHTTP-PreFork # broken deps
9acdcfbb 246POEx-ProxySession # broken deps
247POEx-PubSub # broken deps
248POEx-WorkerPool # broken deps
9acdcfbb 249Queue-Leaky # broken
9acdcfbb 250RDF-Server # "no Moose" unimports confess
9acdcfbb 251Reaction # signatures is broken
252Reflexive-Role-Collective # broken (reflex::role changes?)
253Reflexive-Role-DataMover # broken (reflex::role changes?)
254Reflexive-Role-TCPServer # broken (reflex::role changes?)
ec58481b 255RPC-Any # broken
9acdcfbb 256Scene-Graph # has '+attr' in roles
9acdcfbb 257Server-Control # proc::processtable doesn't load
258SilkiX-Converter-Kwiki # file::mimeinfo expects (?-xism:
259SimpleDB-Class # requires memcached
ec58481b 260SRS-EPP-Proxy # depends on xml::epp
9acdcfbb 261String-Blender # broken
262TAEB # broken
263Tail-Tool # Getopt::Alt doesn't exist
264Tapper-Installer # sys::info::driver::linux is broken
9acdcfbb 265Tapper-MCP-MessageReceiver # sys::info::driver::linux is broken
ec58481b 266Tapper-MCP # sys::info::driver::linux is broken
9acdcfbb 267Tapper-Reports-API # sys::info::driver::linux is broken
ec58481b 268Tapper-Testplan # sys::info::driver::linux is broken
9acdcfbb 269Telephone-Mnemonic-US # rpm-build-perl is broken
270Test-A8N # broken
ec58481b 271Test-Daily # configure errors
272Test-SFTP # Term::ReadPassword prompts in tests
9acdcfbb 273Thorium # requires Hobocamp
274Tk-Role-Dialog # tk won't compile
275TryCatch-Error # broken
276Verby # requires poe::component::resourcepool
ec58481b 277Weaving-Tablet # tk doesn't compile
278WebService-Yes24 # broken
279WiX3 # broken
9acdcfbb 280WWW-Fandango # bad dist
ec58481b 281WWW-FMyLife # broken
282WWW-Hashdb # test hangs, pegging cpu
9acdcfbb 283WWW-Metalgate # Cache is broken
284WWW-Scramble # pod::coverage fail
285WWW-StaticBlog # time::sofar is broken
286WWW-Yahoo-Lyrics-JP # broken
9acdcfbb 287XIRCD # undeclared deps
288XML-EPP # coerce without coercion
289Yukki # git::repository is broken
ec58481b 290Zucchini # File::Rsync prompts in Makefile.PL
8f655ca2 291
292# dep resolution failures or something (these pass when run manually)
ec58481b 293App-HistHub # JSON::Any can't see JSON::XS?
479647ca 294Bot-BasicBot-Pluggable
295Bot-BasicBot-Pluggable-Module-JIRA
479647ca 296CPAN-Digger
479647ca 297Cantella-Worker
298Cantella-Worker-Role-Beanstalk
479647ca 299Catalyst-Plugin-Session
479647ca 300Catalyst-View-ByCode
301Catalyst-View-RDF
302CatalystX-Declare
479647ca 303CatalystX-Syntax-Action
479647ca 304Chart-Clicker
305Chart-Weather-Forecast
479647ca 306Chef
479647ca 307Code-Statistics
ec58481b 308CPAN-Patches
479647ca 309Crypt-PBKDF2
310Curses-Toolkit
479647ca 311DBIx-Class-DeploymentHandler
479647ca 312Data-SearchEngine-ElasticSearch
479647ca 313Devel-IntelliPerl
ec58481b 314Dist-Zilla-Plugin-BuildSelf
479647ca 315Dist-Zilla-Plugin-DualLife
316Dist-Zilla-Plugin-GitFlow
317Dist-Zilla-Plugin-MetaResourcesFromGit
ec58481b 318Dist-Zilla-Plugin-ModuleBuildTiny
479647ca 319Dist-Zilla-Plugin-Rsync
479647ca 320Dist-Zilla-Plugin-Test-CPAN-Changes
ec58481b 321Dist-Zilla-Plugin-Test-DistManifest
479647ca 322Dist-Zilla-Plugin-Test-Kwalitee
ec58481b 323Dist-Zilla-Plugin-Test-Portability
324Dist-Zilla-Plugin-Test-Synopsis
325Dist-Zilla-Plugin-Test-UnusedVars
479647ca 326Dist-Zilla-PluginBundle-ARODLAND
327Dist-Zilla-PluginBundle-Author-OLIVER
328Dist-Zilla-PluginBundle-FLORA
329Dist-Zilla-PluginBundle-NIGELM
330Dist-Zilla-PluginBundle-NUFFIN
331Dist-Zilla-PluginBundle-RBUELS
479647ca 332FCGI-Engine
479647ca 333Fey-SQL-Pg
479647ca 334Finance-Bank-SuomenVerkkomaksut
479647ca 335Games-AssaultCube
336Games-HotPotato
479647ca 337Gearman-Driver
338Geo-Calc
479647ca 339Gitalist
479647ca 340Grades
341Graphics-Primitive-Driver-Cairo
342Graphics-Primitive-Driver-CairoPango
343HTML-FormHandler
344HTML-FormHandler-Model-DBIC
479647ca 345IMS-CP-Manifest
346IO-Multiplex-Intermediary
347Image-Placeholder
479647ca 348Kafka-Client
479647ca 349KiokuDB-Backend-BDB
479647ca 350LWP-UserAgent-OfflineCache
351Locale-Handle-Pluggable
479647ca 352Mason
479647ca 353Mildew
354MooseX-APIRole
479647ca 355MooseX-AutoImmute
479647ca 356MooseX-Declare
479647ca 357MooseX-Method-Signatures
358MooseX-MultiMethods
359MooseX-MultiObject
360MooseX-POE
361MooseX-Params
479647ca 362MooseX-Workers
479647ca 363Net-Topsy
ec58481b 364POE-Component-Client-CouchDB
479647ca 365POE-Component-Client-MPD
366POE-Component-DirWatch
ec58481b 367POE-Component-Github
479647ca 368POE-Component-IRC-Plugin-Role
369POE-Component-MessageQueue
ec58481b 370POE-Component-Metabase-Relay-Server
479647ca 371POE-Component-Server-SimpleHTTP
372POE-Test-Helpers
479647ca 373Parse-CPAN-Ratings
479647ca 374Pod-Weaver-Section-Encoding
375Proc-Safetynet
9423490e 376Reflex
479647ca 377Reflexive-Stream-Filtering
479647ca 378Schedule-Pluggable
479647ca 379Template-Plugin-Heritable
479647ca 380Test-BDD-Cucumber
381Test-Sweet
382Test-System
9423490e 383TryCatch
479647ca 384VANAMBURG-SEMPROG-SimpleGraph
385VCI
479647ca 386W3C-XMLSchema
ec58481b 387WWW-Alltop
479647ca 388WWW-Getsy
389WWW-Mechanize-Cached
390WWW-MenuGrinder
479647ca 391WebNano-Controller-CRUD
ec58481b 392WebService-Async
393WebService-LOC-CongRec
479647ca 394WebService-SlimTimer
479647ca 395XML-Ant-BuildFile
479647ca 396XML-LibXSLT-Easy
397XML-Rabbit
398XML-Schematron
399YUM-RepoQuery