From ad4c65dfdd330c15022ffc3493791817fa3d953e Mon Sep 17 00:00:00 2001 From: Mirko Tietgen Date: Fri, 3 Jun 2016 15:12:20 +0200 Subject: [PATCH] Bug 16657 - Add exceptions to t/00-load.t Exclude some non-mandatory modules from the test to make packages build. Signed-off-by: Chris Cormack --- t/00-load.t | 3 +++ 1 file changed, 3 insertions(+) diff --git a/t/00-load.t b/t/00-load.t index 21b62eb..aeb9883 100644 --- a/t/00-load.t +++ b/t/00-load.t @@ -60,6 +60,9 @@ find( $m =~ s{^.*/Koha/}{Koha/}; $m =~ s{/}{::}g; return if $m =~ /Koha::NorwegianPatronDB/; # uses non-mandatory modules + return if $m =~ /Koha::ElasticSearch/; # uses non-mandatory modules + return if $m =~ /Koha::REST/; + return if $m =~ /Koha::SearchEngine::Elasticsearch/; use_ok($m) || BAIL_OUT("***** PROBLEMS LOADING FILE '$m'"); }, }, -- 2.1.4