Bug 8890: don't try to load DB-dependent modules

C4::Members::Statistics uses the database in its BEGIN {} block,
which breaks the package build process. This patch causes it to be
skipped in the 00-load test.

Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
This commit is contained in:
Jared Camins-Esakov 2012-10-16 05:14:42 -04:00 committed by Paul Poulain
parent b29e524656
commit 7ee042f125

View file

@ -29,6 +29,7 @@ find({
return if $m =~ /C4::Reports::Guided/; # DB
return if $m =~ /C4::Serials/; # 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);