File: release-dependent.t

package info (click to toggle)
libchi-perl 0.58-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 660 kB
  • ctags: 421
  • sloc: perl: 5,496; makefile: 2
file content (69 lines) | stat: -rw-r--r-- 1,702 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69

BEGIN {
  unless ($ENV{RELEASE_TESTING}) {
    require Test::More;
    Test::More::plan(skip_all => 'these tests are for release candidate testing');
  }
}

use strict;
use warnings;
use Test::More;
BEGIN {
  plan skip_all => <<'END_HELP' unless $ENV{CHI_TEST_MD};
This test will not run unless you set CHI_TEST_MD to a true value.
END_HELP
}

use Test::DependentModules qw(test_modules);

#$ENV{CHI_REDIS_SERVER} = 1;       # CHI::Driver::Redis
#$ENV{FORCE_MEMCACHED_TESTS} = 1;  # CHI::Cascade
# extra dep: Cache::Memcached::libmemcached
test_modules(qw(
  CGI::Application::Plugin::CHI
  CHI::Cascade
  CHI::Driver::BerkeleyDB
  CHI::Driver::DBI
  CHI::Driver::Memcached
  CHI::Driver::Redis
  CHI::Driver::SharedMem
  CHI::Memoize
  Cache::Profile
  Dancer::Plugin::Cache::CHI
  Dancer::Session::CHI
  Dezi::Bot
  Dist::Zilla::Role::MetaCPANInterfacer
  Elastic::Model
  File::DataClass
  Mason::Plugin::Cache
  Metabase
  Mojito
  Mojolicious::Plugin::CHI
  Parallel::ForkControl
  Perlanet
  RDF::Helper::Properties
  Rose::DBx::Object::Cached::CHI
  Search::OpenSearch
  Tapper::Reports::DPath
  Tie::CHI
  Yukki
));

#Mojolicious::Plugin::Cache # broken
#Text::Corpus::CNN # broken
#Text::Corpus::VoiceOfAmerica # broken
#Geo::Heatmap # Image::Magick
#CHI::Driver::Ping # no useful tests, also insane
#CHI::Driver::MemcachedFast # tests broken
#CHI::Driver::HandlerSocket # missing dep Net::HandlerSocket
#App::ListPrereqs # no useful tests
#Poet # broken dep
#Plack::Middleware::ActiveMirror # no tests
#Apache2::AutoTicketLDAP # apache
#Net::FullAuto # wtf
#CHI::Driver::TokyoTyrant # darkpan
#Tapper::Testplan # tests broken
#Template::Provider::Amazon::S3 # no useful tests

done_testing;