[Koha] make test fails on Bookfund and Boolean

Marty ontariowolf64 at yahoo.com
Sat Dec 19 05:05:17 NZDT 2009


I have some errors in my make test, I did a quick search on the web but apart from manual installing XML::LibXSLT (version 1.70, should it maybe be another version?) which I tried, I could not find many related answers.
Please see my make test output below. Doing a make install worked, I have the koha install screen, but I would prefer to have no failed tests.
Any ideas or hints are welcome,

Thanks,

Marty

(on Debian Lenny)


make test
PERL_DL_NONLAZY=1 KOHA_CONF=blib/KOHA_CONF_DIR/koha-conf.xml /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/PERL_MODULE_DIR', 'blib/arch')" t/*.t
t/Amazon.t ..................... ok   
t/Barcodes_PrinterConfig.t ..... ok   
t/Bookfund.t ................... 1/1 
#   Failed test 'use C4::Bookfund;'
#   at t/Bookfund.t line 12.
#     Tried to use 'C4::Bookfund'.
#     Error:  Can't locate C4/Bookfund.pm in @INC (@INC contains: /root/kohaclone/blib/PERL_MODULE_DIR /root/kohaclone/blib/arch /etc/perl /usr/local/lib/perl/5.10.0 /usr/local/share/perl/5.10.0 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at (eval 4) line 2.
# BEGIN
 failed--compilation aborted at (eval 4) line 2.
# Looks like you failed 1 test of 1.
t/Bookfund.t ................... Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/1 subtests 
t/Bookseller.t ................. ok   
t/Boolean.t .................... 1/12 The given value does not seem to be interpretable as a Boolean value at /root/kohaclone/blib/PERL_MODULE_DIR/C4/Boolean.pm line 97.
The given value does not seem to be interpretable as a Boolean value at /root/kohaclone/blib/PERL_MODULE_DIR/C4/Boolean.pm line 104.
Use of uninitialized value in concatenation (.) or string at t/Boolean.t line 17.
The given value does not seem to be interpretable as a Boolean value at /root/kohaclone/blib/PERL_MODULE_DIR/C4/Boolean.pm line 104.
Use of uninitialized value in concatenation (.) or string at t/Boolean.t line 17.
t/Boolean.t .................... Failed 2/12 subtests 
t/Branch.t ..................... ok 
  
t/Calendar.t ................... ok   
t/Charset.t .................... ok   
t/Circulation_barcodedecode.t .. ok     
t/Dates.t ...................... 1/192 # 
# In order to run without DB access, this test will substitute 'us'
# as your default date format.  Export environmental variable KOHA_TEST_DATE_FORMAT
# to override this default, or pass the value as an argument to this test script.
# 
# NOTE: we test for the system handling dd=00 and 00 for TIME values, therefore
# you SHOULD see some warnings like:
# Illegal date specified (year = 1952, month = 1, day = 00) at t/Dates.t ...
# 
# Testing Legacy Functions: format_date and format_date_in_iso
# 
Illegal date specified (year = 1952, month = 1, day = 00) at t/Dates.t line 62
t/Dates.t ...................... 8/192 Illegal date specified (year = 1952, month = 1, day = 00) at t/Dates.t line 65
#
 
# Testing 4 formats.
# Testing no input (defaults):
# 
# Testing with valid inputs:
Illegal date specified (year = 1952, month = 1, day = 00) at t/Dates.t line 84
Illegal date specified (year = 1952, month = 1, day = 00) at t/Dates.t line 84
Illegal date specified (year = 1952, month = 1, day = 00) at t/Dates.t line 84
Illegal date specified (year = 1952, month = 1, day = 00) at t/Dates.t line 84
# 
# Testing object independence from class
# done.
t/Dates.t ...................... ok       
t/Debug.t ...................... # BEFORE use:     $debug is not defined
# BEFORE use: $cgi_debug is not defined
t/Debug.t ...................... 1/3 #  AFTER use:     $debug is 0
#  AFTER use: $cgi_debug is 0
# Done.
t/Debug.t ...................... ok   
t/dummy.t ...................... ok   
t/Input.t
 ...................... ok   
t/Koha.t ....................... ok   
t/Labels_split_ccn.t ........... ok     
t/Labels_split_ddcn.t .......... ok     
t/Labels_split_lccn.t .......... ok     
t/Languages.t .................. ok   
t/Maintainance.t ............... ok   
t/Members_Attributes.t ......... 1/11 # 2 tests for extended_attributes_merge
# old attribute: homeroom = 501
# new attribute: grade = 01
# merge (overwrite) attribute: grade = 01
# merge (overwrite) attribute: homeroom = 501
# merge (preserve) attribute: grade = 01
# merge (preserve) attribute: homeroom = 501
# old attribute: deanslist = 2007
# old attribute: deanslist = 2008
# old attribute: grade = 04
# old attribute: homeroom = 224
# old attribute: somedata = xxx
# new attribute: deanslist = 2009
# new attribute: extradata =
 foobar
# new attribute: grade = 05
# new attribute: homeroom = 115
# merge (overwrite) attribute: deanslist = 2009
# merge (overwrite) attribute: extradata = foobar
# merge (overwrite) attribute: grade = 05
# merge (overwrite) attribute: homeroom = 115
# merge (overwrite) attribute: somedata = xxx
# merge (preserve) attribute: deanslist = 2007
# merge (preserve) attribute: deanslist = 2008
# merge (preserve) attribute: deanslist = 2009
# merge (preserve) attribute: extradata = foobar
# merge (preserve) attribute: grade = 05
# merge (preserve) attribute: homeroom = 115
# merge (preserve) attribute: somedata = xxx
t/Members_Attributes.t ......... ok     
t/Output.t ..................... ok   
t/Record.t ..................... ok   
t/Review.t ..................... ok   
t/Scrubber.t ................... 1/10 # Note: scrubber test output will have
 whitespace collapsed for readability
# done.
t/Scrubber.t ................... ok     
t/Stats.t ...................... ok   

Test Summary Report
-------------------
t/Bookfund.t                 (Wstat: 256 Tests: 1 Failed: 1)
  Failed test:  1
  Non-zero exit status: 1
t/Boolean.t                  (Wstat: 0 Tests: 12 Failed: 2)
  Failed tests:  11-12
Files=25, Tests=391, 42 wallclock secs ( 0.76 usr  0.09 sys + 28.32 cusr  1.81 csys = 30.98 CPU)
Result: FAIL
Failed 2/25 test programs. 3/391 subtests failed.
make: *** [test_dynamic] Error 255




      __________________________________________________________________
Looking for the perfect gift? Give the gift of Flickr! 

http://www.flickr.com/gift/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.katipo.co.nz/pipermail/koha/attachments/20091218/74f27b32/attachment.htm 


More information about the Koha mailing list