[Koha] Upgrading 3.01 to 3.04 - make test failed

Beda Szukics beda at muri-gries.ch
Thu Oct 29 04:40:36 NZDT 2009


Hi

I tried to upgrade yesterday from 3.01 to 3.04

perl Makefile ... and make went fine, but make test tells me:

#
# 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
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.
# BEFORE use:     $debug is not defined
# BEFORE use: $cgi_debug is not defined
#  AFTER use:     $debug is 0
#  AFTER use: $cgi_debug is 0
# Done.
Use of uninitialized value in substitution (s///) at
/home/koha/koha-3.00.04_fixed/blib/PERL_MODULE_DIR/C4/Labels.pm line 979.
Use of uninitialized value in pattern match (m//) at
/home/koha/koha-3.00.04_fixed/blib/PERL_MODULE_DIR/C4/Labels.pm line 982.
Use of uninitialized value in pattern match (m//) at
/home/koha/koha-3.00.04_fixed/blib/PERL_MODULE_DIR/C4/Labels.pm line 993.
Use of uninitialized value in split at
/home/koha/koha-3.00.04_fixed/blib/PERL_MODULE_DIR/C4/Labels.pm line 998.
Use of uninitialized value in pattern match (m//) at
/home/koha/koha-3.00.04_fixed/blib/PERL_MODULE_DIR/C4/Labels.pm line 1000.
Use of uninitialized value in pattern match (m//) at
/home/koha/koha-3.00.04_fixed/blib/PERL_MODULE_DIR/C4/Labels.pm line 1000.

#   Failed test '5 of 3 pieces produced'
#   at t/Labels_split_ddcn.t line 30.

#   Failed test '(MP3-CD F PARKER)[0]   matches: MP3-CD'
#   at t/Labels_split_ddcn.t line 35.

#   Failed test '(MP3-CD F PARKER)[1]   matches: F'
#   at t/Labels_split_ddcn.t line 35.

#   Failed test '(MP3-CD F PARKER)[2]   matches: PARKER'
#   at t/Labels_split_ddcn.t line 35.
# Looks like you failed 4 tests of 82.
Use of uninitialized value in pattern match (m//) at
/home/koha/koha-3.00.04_fixed/blib/PERL_MODULE_DIR/C4/Labels.pm line 958.
Use of uninitialized value in split at
/home/koha/koha-3.00.04_fixed/blib/PERL_MODULE_DIR/C4/Labels.pm line 971.
# 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
# Note: scrubber test output will have whitespace collapsed for readability
# done.
Failed 1/24 test scripts, 95.83% okay. 4/392 subtests failed, 98.98% okay.
make: *** [test_dynamic] Fehler 255

Is this critical? Is there a solution (I don't know what these messages
mean :-))? Or can I go on installing the new version?

Greetings                  Beda


More information about the Koha mailing list