From e5d50cd018a9d7892e3f710a920490533fae8828 Mon Sep 17 00:00:00 2001 From: Jared Camins-Esakov Date: Tue, 16 Oct 2012 05:14:42 -0400 Subject: [PATCH] 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 --- t/00-load.t | 1 + 1 file changed, 1 insertion(+) diff --git a/t/00-load.t b/t/00-load.t index da9008d..afff47d 100644 --- a/t/00-load.t +++ b/t/00-load.t @@ -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); -- 1.7.10.4