X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=t%2F00-load.t;h=4f33e6020804eba876f06cf595c09407d1e90776;hb=89a8a17fdc793b145fc0d7bdcef601698b36fdaa;hp=8f96e22cbba9fc62e4f05bcef2f6c4ad5625fe77;hpb=324615e396be7fadc8ba3cfa1a9f6025e900df3a;p=koha.git diff --git a/t/00-load.t b/t/00-load.t index 8f96e22cbb..4f33e60208 100644 --- a/t/00-load.t +++ b/t/00-load.t @@ -12,23 +12,22 @@ find({ no_chdir => 1, wanted => sub { my $m = $_; - return unless $m =~ s/[.]pm$//; - $m =~ s{^.*/C4/}{C4/}; - $m =~ s{/}{::}g; - return if $m =~ /Auth_with_ldap/; # Dont test this, it will fail on use - return if $m =~ /Cache/; # Cache modules are a WIP, add the tests back when we are using them more - return if $m =~ /SIP/; # SIP modules will not load clean - return if $m =~ /C4::VirtualShelves$/; # Requires a DB - return if $m =~ /C4::Auth$/; # DB - return if $m =~ /C4::Tags$/; # DB - return if $m =~ /C4::Service/; # DB - return if $m =~ /C4::Auth_with_cas/; # DB - return if $m =~ /C4::BackgroundJob/; # DB - return if $m =~ /C4::UploadedFile/; # DB - return if $m =~ /C4::Record/; # DB - return if $m =~ /C4::Reports::Guided/; # DB - return if $m =~ /C4::Serials/; # DB - return if $m =~ /C4::VirtualShelves::Page/; # DB + return unless $m =~ s/[.]pm$//; + $m =~ s{^.*/C4/}{C4/}; + $m =~ s{/}{::}g; + return if $m =~ /Auth_with_ldap/; # Dont test this, it will fail on use + return if $m =~ /SIP/; # SIP modules will not load clean + return if $m =~ /C4::VirtualShelves$/; # Requires a DB + return if $m =~ /C4::Auth$/; # DB + return if $m =~ /C4::ILSDI::Services/; # DB + return if $m =~ /C4::Tags$/; # DB + return if $m =~ /C4::Service/; # DB + return if $m =~ /C4::Auth_with_cas/; # DB + return if $m =~ /C4::BackgroundJob/; # DB + return if $m =~ /C4::UploadedFile/; # DB + return if $m =~ /C4::Reports::Guided/; # DB + return if $m =~ /C4::VirtualShelves::Page/; # DB + return if $m =~ /C4::Members::Statistics/; # DB use_ok($m) || BAIL_OUT("***** PROBLEMS LOADING FILE '$m'"); }, }, $lib); @@ -43,6 +42,7 @@ find( return unless $m =~ s/[.]pm$//; $m =~ s{^.*/Koha/}{Koha/}; $m =~ s{/}{::}g; + return if $m =~ /Koha::SearchEngine/; # Koha::SearchEngine::* are experimental use_ok($m) || BAIL_OUT("***** PROBLEMS LOADING FILE '$m'"); }, },