Bugzilla – Attachment 12844 Details for
Bug 8890
Packages can't be built on master, db dependent test
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 8890: don't try to load DB-dependent modules
Bug-8890-dont-try-to-load-DB-dependent-modules.patch (text/plain), 1.23 KB, created by
Jared Camins-Esakov
on 2012-10-16 09:20:43 UTC
(
hide
)
Description:
Bug 8890: don't try to load DB-dependent modules
Filename:
MIME Type:
Creator:
Jared Camins-Esakov
Created:
2012-10-16 09:20:43 UTC
Size:
1.23 KB
patch
obsolete
>From 947ffbca45a6506fb83309722cf161da4977206c Mon Sep 17 00:00:00 2001 >From: Jared Camins-Esakov <jcamins@cpbibliography.com> >Date: Tue, 16 Oct 2012 05:14:42 -0400 >Subject: [PATCH] Bug 8890: don't try to load DB-dependent modules > >Both C4::Members::Statistics and Koha::Borrower::Files use the database >in their BEGIN {} blocks, which breaks the package build process. This >patch causes them to be skipped in the 00-load test. >--- > t/00-load.t | 2 ++ > 1 file changed, 2 insertions(+) > >diff --git a/t/00-load.t b/t/00-load.t >index da9008d..748fa10 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); >@@ -44,6 +45,7 @@ find( > $m =~ s{^.*/Koha/}{Koha/}; > $m =~ s{/}{::}g; > return if $m =~ /Koha::SearchEngine::/; # Koha::SearchEngine::* are experimental >+ return if $m =~ /Koha::Borrower::Files/; > use_ok($m) || BAIL_OUT("***** PROBLEMS LOADING FILE '$m'"); > }, > }, >-- >1.7.9.5
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 8890
:
12739
|
12843
|
12844
|
12846
|
12847
|
12872
|
12873
|
12874
|
13014