Lines 18-24
my @dirs = ( 'acqui', 'admin', 'authorities', 'basket',
Link Here
|
18 |
'rewrite-config.PL', 'rotating_collections', 'serials', 'services', 'skel', |
18 |
'rewrite-config.PL', 'rotating_collections', 'serials', 'services', 'skel', |
19 |
'sms', 'suggestion', 'svc', 'tags', 'tools', 'virtualshelves' ); |
19 |
'sms', 'suggestion', 'svc', 'tags', 'tools', 'virtualshelves' ); |
20 |
|
20 |
|
|
|
21 |
my @skips = ('misc/kohalib.pl', 'sms/sms_listen_windows_start.pl', 'misc/plack/koha.psgi'); |
22 |
|
23 |
eval { require Koha::SearchEngine::Elasticsearch::Indexer; }; |
24 |
|
25 |
if ( $@ ) { |
26 |
push @skips, 'misc/search_tools/rebuild_elastic_search.pl'; |
27 |
} |
28 |
|
29 |
eval { require Koha::ExternalContent::OverDrive; }; |
30 |
|
31 |
if ( $@ ) { |
32 |
push @skips, 'opac/svc/overdrive'; |
33 |
} |
34 |
|
35 |
eval { require Koha::ExternalContent::OverDrive; }; |
36 |
|
37 |
if ( $@ ) { |
38 |
push @skips, 'opac/external/overdrive/auth.pl'; |
39 |
} |
40 |
|
21 |
$Test::Strict::TEST_STRICT = 0; |
41 |
$Test::Strict::TEST_STRICT = 0; |
22 |
$Test::Strict::TEST_SKIP = [ 'misc/kohalib.pl', 'sms/sms_listen_windows_start.pl', 'misc/plack/koha.psgi' ]; |
42 |
$Test::Strict::TEST_SKIP = [ @skips ]; |
23 |
|
43 |
|
24 |
all_perl_files_ok(@dirs); |
44 |
all_perl_files_ok(@dirs); |
25 |
- |
|
|