[Koha-bugs] [Bug 9036] New: 00-load.t checks Koha::Cache::Memcached when it should not

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Nov 8 21:02:57 CET 2012


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9036

          Priority: P5 - low
 Change sponsored?: ---
            Bug ID: 9036
          Assignee: gmcharlt at gmail.com
           Summary: 00-load.t checks Koha::Cache::Memcached when it should
                    not
          Severity: normal
    Classification: Unclassified
                OS: All
          Reporter: cnighswonger at foundations.edu
          Hardware: All
            Status: NEW
           Version: master
         Component: Test Suite
           Product: Koha

Memcached related modules are optional, not mandatory, so we should not be
testing related code in the basic test suite.

------------------

$ prove t
t/00-checkdatabase-version.t ........ ok   
t/00-deprecated.t ................... ok   
t/00-load.t ......................... 2/? Too late to run INIT block at
/home/cnighswonger/Repositories/koha.3.2.labels//C4/Barcodes/hbyymmincr.pm line
41.
Too late to run INIT block at
/home/cnighswonger/Repositories/koha.3.2.labels//C4/External/BakerTaylor.pm
line 42.
t/00-load.t ......................... 133/? 
#   Failed test 'use Koha::Cache::Memcached;'
Bailout called.  Further testing stopped:  ***** PROBLEMS LOADING FILE
'Koha::Cache::Memcached'
#   at t/00-load.t line 48.
#     Tried to use 'Koha::Cache::Memcached'.
#     Error:  Can't locate Cache/Memcached/Fast.pm in @INC (@INC contains:
/home/cnighswonger/Repositories/koha.3.2.labels/ /etc/perl
/usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5
/usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14
/usr/local/lib/site_perl .) at
/home/cnighswonger/Repositories/koha.3.2.labels//Koha/Cache/Memcached.pm line
23.
# BEGIN failed--compilation aborted at
/home/cnighswonger/Repositories/koha.3.2.labels//Koha/Cache/Memcached.pm line
23.
# Compilation failed in require at (eval 1325) line 2.
# BEGIN failed--compilation aborted at (eval 1325) line 2.
# Tests were run but no plan was declared and done_testing() was not seen.
FAILED--Further testing stopped: ***** PROBLEMS LOADING FILE
'Koha::Cache::Memcached'

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list