Bugzilla – Attachment 13376 Details for
Bug 9054
00-load should not try to load modules with optional dependencies
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 9054: 00-load should not try to load modules with optional dependencies
Bug-9054-00-load-should-not-try-to-load-modules-wi.patch (text/plain), 1.03 KB, created by
Jared Camins-Esakov
on 2012-11-10 19:06:11 UTC
(
hide
)
Description:
Bug 9054: 00-load should not try to load modules with optional dependencies
Filename:
MIME Type:
Creator:
Jared Camins-Esakov
Created:
2012-11-10 19:06:11 UTC
Size:
1.03 KB
patch
obsolete
>From c1a31715674c6d8a03d7de79cf6c070a1cea755d Mon Sep 17 00:00:00 2001 >From: Jared Camins-Esakov <jcamins@cpbibliography.com> >Date: Sat, 10 Nov 2012 14:05:13 -0500 >Subject: [PATCH] Bug 9054: 00-load should not try to load modules with > optional dependencies > >Prior to this patch, t/00-load.t was trying to load Koha::SearchEngine, >which fails when Moose is not installed. >--- > t/00-load.t | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/t/00-load.t b/t/00-load.t >index a154c7a..dc69f96 100644 >--- a/t/00-load.t >+++ b/t/00-load.t >@@ -44,7 +44,7 @@ find( > return unless $m =~ s/[.]pm$//; > $m =~ s{^.*/Koha/}{Koha/}; > $m =~ s{/}{::}g; >- return if $m =~ /Koha::SearchEngine::/; # Koha::SearchEngine::* are experimental >+ return if $m =~ /Koha::SearchEngine/; # Koha::SearchEngine::* are experimental > return if $m =~ /Koha::Cache::Memcached/; # optional dependency > 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 9054
:
13376
|
13378