Commit | Line | Data |
f81522ba |
1 | use strict; |
2 | use warnings; |
3 | |
4 | use Cwd qw( abs_path ); |
5 | use Test::More; |
6 | |
52c21688 |
7 | BEGIN { |
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 |
12 | use 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 |
17 | use Test::DependentModules qw( test_all_dependents test_modules ); |
f81522ba |
18 | |
7028866a |
19 | use DateTime; |
479647ca |
20 | use List::MoreUtils qw(any); |
7028866a |
21 | use Moose (); |
7028866a |
22 | |
41a0b2a9 |
23 | diag( '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 |
29 | delete @ENV{ qw( AUTHOR_TESTING RELEASE_TESTING SMOKE_TESTING ) }; |
f81522ba |
30 | |
28885fe7 |
31 | $ENV{ANY_MOOSE} = 'Moose'; |
32 | |
479647ca |
33 | my $mcpan = MetaCPAN::API->new; |
34 | my $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 |
54 | my %skip = map { $_ => 1 } grep { /\w/ } map { chomp; s/\s*#.*$//; $_ } <DATA>; |
55 | my @skip_prefix = qw(Acme Task Bundle); |
56 | my %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 | ); |
74 | my @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 | |
81 | plan tests => scalar @modules; |
82 | test_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 |
89 | Black-Board # not found on cpan because of mxd |
6e017ae3 |
90 | Hopkins # not found on cpan (?) |
91 | PostScript-Barcode # not found on cpan (?) |
ec58481b |
92 | VirtualBox-Manage # not found on cpan because of mxd |
93 | |
94 | # no tests |
95 | AI-ExpertSystem-Advanced |
96 | API-Assembla |
97 | App-mkfeyorm |
98 | Bot-Applebot |
99 | Catalyst-Authentication-Credential-Facebook-OAuth2 |
100 | Catalyst-Authentication-Store-Fey-ORM |
101 | Catalyst-Controller-MovableType |
102 | Catalyst-Model-MenuGrinder |
4513d67e |
103 | Chef |
104 | Data-SearchEngine-ElasticSearch |
105 | Dist-Zilla-Plugin-DualLife |
106 | Dist-Zilla-Plugin-GitFlow |
107 | Dist-Zilla-Plugin-MetaResourcesFromGit |
108 | Dist-Zilla-Plugin-Rsync |
109 | Dist-Zilla-PluginBundle-ARODLAND |
110 | Dist-Zilla-PluginBundle-Author-OLIVER |
111 | Dist-Zilla-PluginBundle-NUFFIN |
112 | Games-HotPotato |
113 | Kafka-Client |
114 | LWP-UserAgent-OfflineCache |
ec58481b |
115 | Net-Dropbox |
116 | Net-Recurly |
4513d67e |
117 | Pod-Weaver-Section-Encoding |
ec58481b |
118 | POE-Component-Server-MySQL |
119 | Random-Quantum |
120 | SchemaEvolution |
121 | STD |
4513d67e |
122 | Test-System |
ec58481b |
123 | WebService-Buxfer |
124 | WebService-CloudFlare-Host |
4513d67e |
125 | WWW-MenuGrinder |
479647ca |
126 | |
8f655ca2 |
127 | # failing for a reason |
8f655ca2 |
128 | Algorithm-KernelKMeans # mx-types-common changes broke it |
e8ba9394 |
129 | Alien-ActiveMQ # can't install activemq |
8f655ca2 |
130 | AnyEvent-Inotify-Simple # ??? (maybe issue with test::sweet) |
131 | AnyEvent-JSONRPC # tests require recommended deps |
132 | AnyEvent-Retry # mx-types-common changes broke it |
133 | AnyEvent-ZeroMQ # requires zeromq installation |
ec58481b |
134 | App-CPAN2Pkg # Tk doesn't compile |
8f655ca2 |
135 | App-Dataninja # bad M::I install in inc/ |
136 | App-ForExample # getopt::chain is broken |
ec58481b |
137 | App-Fotagger # Imager doesn't compile |
4513d67e |
138 | App-HistHub # missing dep on JSON.pm |
8f655ca2 |
139 | App-Magpie # deps on URPM which doesn't exist |
140 | App-PgCryobit # requires postgres installation |
141 | App-TemplateServer # broken use of types |
142 | App-TemplateServer-Provider-HTML-Template # dep on app-templateserver |
143 | App-TemplateServer-Provider-Mason # dep on app-templateserver |
144 | App-TemplateServer-Provider-TD # dep on app-templateserver |
145 | App-TimeTracker # git::repository is broken |
146 | App-USBKeyCopyCon # gtk tests are graphical |
8f655ca2 |
147 | Archive-RPM # requires cpio |
148 | Bio-MAGETAB # datetime-format-datemanip is broken |
8f655ca2 |
149 | Bot-Backbone # broken deps |
150 | Business-UPS-Tracking # broken |
8f655ca2 |
151 | Cache-Profile # broken |
8f655ca2 |
152 | Catalyst-Authentication-Store-LDAP-AD-Class # pod coverage fail |
8f655ca2 |
153 | Catalyst-Controller-Resources # broken |
e8ba9394 |
154 | Catalyst-Engine-Stomp # requires alien::activemq |
e8ba9394 |
155 | Catalyst-Model-Search-ElasticSearch # requires elasticsearch |
156 | Catalyst-Model-Sedna # deps on Alien-Sedna which doesn't exist |
157 | Catalyst-Plugin-Continuation # undeclared dep |
158 | Catalyst-Plugin-ErrorCatcher-ActiveMQ-Stomp # pod coverage fail |
159 | Catalyst-Plugin-SwiffUploaderCookieHack # undeclared dep |
160 | Catalyst-TraitFor-Component-ConfigPerSite # undeclared dep |
161 | Catalyst-TraitFor-Controller-jQuery-jqGrid # bad test (missing files) |
162 | CatalystX-MooseComponent # broken |
163 | CatalystX-Restarter-GTK # gtk tests are graphical |
164 | CatalystX-RoleApplicator # broken |
165 | CatalystX-SimpleAPI # depends on ::RoleApplicator |
166 | CatalystX-SimpleLogin # broken |
167 | CatalystX-Usul # proc::processtable doesn't load |
168 | Cave-Wrapper # requires cave to be installed |
169 | Cheater # parse::randgen is broken |
ec58481b |
170 | CHI-Driver-Redis # requires redis server |
e8ba9394 |
171 | Class-OWL # uses CMOP::Class without loading cmop |
ec58481b |
172 | CM-Permutation # OpenGL uses graphics in Makefile.PL |
e8ba9394 |
173 | Cogwheel # uses ancient moose apis |
174 | Constructible # GD::SVG is a broken dist |
175 | Coro-Amazon-SimpleDB # amazon::simpledb::client doesn't exist |
4513d67e |
176 | CPAN-Digger # requires DBD::SQLite |
ec58481b |
177 | CPAN-Mini-Webserver # undeclared dep on lingua-stopwords |
178 | CPAN-Patches-Plugin-Debian # configure time failures |
179 | Dackup # depends on running ssh |
cf9832d2 |
180 | Data-Apache-mod_status # invalid characters in type name |
ec58481b |
181 | Data-Collector # depends on running ssh |
cf9832d2 |
182 | Data-PackageName # broken |
183 | Data-Pipeline # uses ancient moose apis |
ec58481b |
184 | Date-Biorhythm # Date::Business prompts in Makefile.PL |
cf9832d2 |
185 | DayDayUp # MojoX-Fixup-XHTML doesn't exist |
ec58481b |
186 | DBICx-Modeler-Generator # broken (weirdly) |
187 | DBIx-PgLink # requires postgres installation |
188 | DBIx-SchemaChecksum # broken |
189 | Debian-Apt-PM # configure time failures |
cf9832d2 |
190 | Devel-Events # broken (role conflict) |
9acdcfbb |
191 | Dist-Zilla-Plugin-ProgCriticTests # broken |
192 | Dist-Zilla-Plugin-SVK # requires svn bindings |
193 | DustyDB # uses old moose apis |
194 | ELF-Extract-Sections # uses stash entries with :: |
195 | ETLp # uses stash entries with :: |
9acdcfbb |
196 | Fedora-App-MaintainerTools # requires rpm to be installed |
197 | Fedora-App-ReviewTool # requires koji to be installed |
ec58481b |
198 | FFmpeg-Thumbnail # undeclared dep |
9acdcfbb |
199 | File-DataClass # XML::DTD is a broken dist |
200 | Finance-Bank-SentinelBenefits-Csv401kConverter # uses stash entries with :: |
201 | Forest-Tree-Viewer-Gtk2 # gtk tests are graphical |
202 | Form-Factory # uses old moose apis |
203 | Frost # broken |
9acdcfbb |
204 | Games-Pandemic # tk doesn't build |
205 | Games-RailRoad # tk doesn't build |
206 | Games-Risk # tk doesn't build |
207 | Games-Tetris-Complete # requires threads |
208 | Getopt-Chain # p::d::builder changed dists |
ec58481b |
209 | GOBO # coerce with no coercion |
9acdcfbb |
210 | Google-Spreadsheet-Agent # pod::coverage fail |
ec58481b |
211 | helm # depends on running ssh |
9acdcfbb |
212 | Hobocamp # configure_requires needs EU::CChecker |
213 | Horris # App::Horris isn't on cpan |
ec58481b |
214 | HTML-TreeBuilderX-ASP_NET # broken |
9acdcfbb |
215 | IM-Engine-Plugin-Dispatcher # p::d::declarative changed dists |
216 | JavaScript-Framework-jQuery # coerce with no coercion |
217 | Jungle # broken |
218 | Kamaitachi # pod::coverage fail |
219 | KiokuDB-Backend-Files # broken |
ec58481b |
220 | Lingua-TreeTagger # requires treetagger to be installed |
9acdcfbb |
221 | Locale-MO-File # broken |
222 | Log-Dispatch-Gtk2-Notify # gtk tests are graphical |
9acdcfbb |
223 | Mail-Summary-Tools # DT::Format::DateManip is broken |
224 | MediaWiki-USERINFO # broken |
4513d67e |
225 | Mildew # regexp::grammars needs class::accessor |
ec58481b |
226 | mobirc # http::engine broken |
9acdcfbb |
227 | MooseX-Attribute-Prototype # uses old moose apis |
228 | MooseX-DBIC-Scaffold # needs unreleased sql-translator |
9acdcfbb |
229 | MooseX-Documenter # broken |
ec58481b |
230 | MooseX-DOM # "no Moose" unimports confess |
9acdcfbb |
231 | MooseX-Error-Exception-Class # metaclass compat breakage |
232 | MooseX-Meta-Attribute-Index # old moose apis |
233 | MooseX-Meta-Attribute-Lvalue # old moose apis |
234 | MooseX-Struct # ancient moose apis |
235 | MooseX-TrackDirty-Attributes # old moose apis |
ec58481b |
236 | MSWord-ToHTML # requires abiword to be installed |
237 | namespace-alias # won't compile |
9acdcfbb |
238 | Net-Douban # broken |
9acdcfbb |
239 | Net-FluidDB # broken |
240 | Net-Fluidinfo # broken |
ec58481b |
241 | NetHack-Item # NH::Monster::Spoiler is broken |
242 | NetHack-Monster-Spoiler # broken (MX::CA issues) |
9acdcfbb |
243 | Net-HTTP-Factual # broken |
244 | Net-Journyx # broken |
245 | Net-Parliament # broken |
246 | Net-Plurk # broken |
9acdcfbb |
247 | Net-StackExchange # broken |
9acdcfbb |
248 | Nginx-Control # requires nginx to be installed |
249 | ODG-Record # Test::Benchmark broken |
ec58481b |
250 | Paludis-UseCleaner # needs cave::wrapper |
251 | Parse-FixedRecord # broken |
252 | Perlanet # HTML::Tidy requires tidyp |
253 | Perlbal-Control # proc::processtable doesn't load |
254 | Perl-Dist-Strawberry-BuildPerl-5123 # windows only |
255 | Perl-Dist-WiX-BuildPerl-5123 # windows only |
256 | Perl-Dist-WiX # windows only |
257 | Pg-BulkCopy # hardcodes /usr/bin/perl |
258 | POE-Component-CPAN-Mirror-Multiplexer # broken |
9acdcfbb |
259 | POE-Component-DirWatch-Object # broken |
ec58481b |
260 | POE-Component-OpenSSH # depends on running ssh |
9acdcfbb |
261 | POE-Component-ResourcePool # broken |
9acdcfbb |
262 | POE-Component-Server-PSGI # broken deps |
ec58481b |
263 | POE-Component-Server-SimpleHTTP-PreFork # broken deps |
9acdcfbb |
264 | POEx-ProxySession # broken deps |
265 | POEx-PubSub # broken deps |
266 | POEx-WorkerPool # broken deps |
9acdcfbb |
267 | Queue-Leaky # broken |
9acdcfbb |
268 | RDF-Server # "no Moose" unimports confess |
9acdcfbb |
269 | Reaction # signatures is broken |
270 | Reflexive-Role-Collective # broken (reflex::role changes?) |
271 | Reflexive-Role-DataMover # broken (reflex::role changes?) |
272 | Reflexive-Role-TCPServer # broken (reflex::role changes?) |
ec58481b |
273 | RPC-Any # broken |
9acdcfbb |
274 | Scene-Graph # has '+attr' in roles |
9acdcfbb |
275 | Server-Control # proc::processtable doesn't load |
276 | SilkiX-Converter-Kwiki # file::mimeinfo expects (?-xism: |
277 | SimpleDB-Class # requires memcached |
ec58481b |
278 | SRS-EPP-Proxy # depends on xml::epp |
9acdcfbb |
279 | String-Blender # broken |
280 | TAEB # broken |
281 | Tail-Tool # Getopt::Alt doesn't exist |
282 | Tapper-Installer # sys::info::driver::linux is broken |
9acdcfbb |
283 | Tapper-MCP-MessageReceiver # sys::info::driver::linux is broken |
ec58481b |
284 | Tapper-MCP # sys::info::driver::linux is broken |
9acdcfbb |
285 | Tapper-Reports-API # sys::info::driver::linux is broken |
ec58481b |
286 | Tapper-Testplan # sys::info::driver::linux is broken |
9acdcfbb |
287 | Telephone-Mnemonic-US # rpm-build-perl is broken |
288 | Test-A8N # broken |
ec58481b |
289 | Test-Daily # configure errors |
290 | Test-SFTP # Term::ReadPassword prompts in tests |
9acdcfbb |
291 | Thorium # requires Hobocamp |
292 | Tk-Role-Dialog # tk won't compile |
293 | TryCatch-Error # broken |
294 | Verby # requires poe::component::resourcepool |
ec58481b |
295 | Weaving-Tablet # tk doesn't compile |
4513d67e |
296 | WebService-SlimTimer # weird mxms error |
ec58481b |
297 | WebService-Yes24 # broken |
298 | WiX3 # broken |
4513d67e |
299 | WWW-Alltop # XML::SimpleObject configure fail |
9acdcfbb |
300 | WWW-Fandango # bad dist |
ec58481b |
301 | WWW-FMyLife # broken |
302 | WWW-Hashdb # test hangs, pegging cpu |
9acdcfbb |
303 | WWW-Metalgate # Cache is broken |
304 | WWW-Scramble # pod::coverage fail |
305 | WWW-StaticBlog # time::sofar is broken |
306 | WWW-Yahoo-Lyrics-JP # broken |
9acdcfbb |
307 | XIRCD # undeclared deps |
308 | XML-EPP # coerce without coercion |
4513d67e |
309 | XML-LibXSLT-Easy # missing dep on mx-getopt |
9acdcfbb |
310 | Yukki # git::repository is broken |
ec58481b |
311 | Zucchini # File::Rsync prompts in Makefile.PL |