projects
/
koha.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b29e524
)
Bug 8890: don't try to load DB-dependent modules
author
Jared Camins-Esakov
<jcamins@cpbibliography.com>
Tue, 16 Oct 2012 09:14:42 +0000
(
05:14
-0400)
committer
Paul Poulain
<paul.poulain@biblibre.com>
Wed, 24 Oct 2012 15:52:39 +0000
(17:52 +0200)
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>
t/00-load.t
patch
|
blob
|
history
diff --git
a/t/00-load.t
b/t/00-load.t
index
da9008d
..
afff47d
100644
(file)
--- 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);