[Koha-bugs] [Bug 3763] New: Errors when running make test
bugzilla-daemon at kohaorg.ec2.liblime.com
bugzilla-daemon at kohaorg.ec2.liblime.com
Wed Nov 4 19:17:57 CET 2009
http://bugs.koha.org/cgi-bin/bugzilla3/show_bug.cgi?id=3763
Summary: Errors when running make test
Product: Koha
Version: unspecified
Platform: PC
OS/Version: Linux - Debian
Status: NEW
Severity: enhancement
Priority: P5
Component: Installation (command-line installer)
AssignedTo: gmcharlt at gmail.com
ReportedBy: hugo at heriz-smith.com
Estimated Hours: 0.0
Change sponsored?: ---
Installing on Debian Lenny.
Following instructions in INSTALL.debian-lenny as well as looking at
http://blog.triumphovermadness.com/2009/05/koha-3-on-debianlenny.html
When I ran make test, I got the following:
librarian at koha-server:~/koha-3.00.04_fixed$ 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.......................ok
t/Barcodes_PrinterConfig.......ok
t/Bookfund.....................ok
t/Bookseller...................ok
t/Boolean......................ok
t/Branch.......................ok
t/Calendar.....................ok
t/Charset......................ok
t/Circulation_barcodedecode....ok
t/Dates........................ok 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
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........................ok
12/192 skipped: various reasons
t/Debug........................# 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.
t/Debug........................ok
t/dummy........................ok
t/Input........................ok
t/Koha.........................ok
t/Labels_split_ddcn............ok 1/82Use of uninitialized value $_ in
substitution (s///) at
/home/librarian/koha-3.00.04_fixed/blib/PERL_MODULE_DIR/C4/Labels.pm line 979.
Use of uninitialized value $_ in pattern match (m//) at
/home/librarian/koha-3.00.04_fixed/blib/PERL_MODULE_DIR/C4/Labels.pm line 982.
Use of uninitialized value $parts[0] in pattern match (m//) at
/home/librarian/koha-3.00.04_fixed/blib/PERL_MODULE_DIR/C4/Labels.pm line 993.
Use of uninitialized value in split at
/home/librarian/koha-3.00.04_fixed/blib/PERL_MODULE_DIR/C4/Labels.pm line 998.
Use of uninitialized value $parts[-1] in pattern match (m//) at
/home/librarian/koha-3.00.04_fixed/blib/PERL_MODULE_DIR/C4/Labels.pm line 1000.
Use of uninitialized value $parts[-1] in pattern match (m//) at
/home/librarian/koha-3.00.04_fixed/blib/PERL_MODULE_DIR/C4/Labels.pm line 1000.
t/Labels_split_ddcn............NOK 62/82
# Failed test '5 of 3 pieces produced'
# at t/Labels_split_ddcn.t line 30.
t/Labels_split_ddcn............NOK 64/82
# Failed test '(MP3-CD F PARKER)[0] matches: MP3-CD'
# at t/Labels_split_ddcn.t line 35.
t/Labels_split_ddcn............NOK 66/82
# Failed test '(MP3-CD F PARKER)[1] matches: F'
# at t/Labels_split_ddcn.t line 35.
t/Labels_split_ddcn............NOK 68/82
# 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.
t/Labels_split_ddcn............dubious
Test returned status 4 (wstat 1024, 0x400)
DIED. FAILED tests 62, 64, 66, 68
Failed 4/82 tests, 95.12% okay
t/Labels_split_lccn............ok 1/44Use of uninitialized value $_ in pattern
match (m//) at
/home/librarian/koha-3.00.04_fixed/blib/PERL_MODULE_DIR/C4/Labels.pm line 958.
Use of uninitialized value in split at
/home/librarian/koha-3.00.04_fixed/blib/PERL_MODULE_DIR/C4/Labels.pm line 971.
t/Labels_split_lccn............ok
t/Languages....................ok
t/Maintainance.................ok
t/Members_Attributes...........ok 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...........ok
t/Output.......................ok
t/Record.......................ok
t/Review.......................ok
t/Scrubber.....................ok 1/10# Note: scrubber test output will have
whitespace collapsed for readability
# done.
t/Scrubber.....................ok
t/Stats........................ok
Failed Test Stat Wstat Total Fail List of Failed
-------------------------------------------------------------------------------
t/Labels_split_ddcn.t 4 1024 82 4 62 64 66 68
12 subtests skipped.
Failed 1/24 test scripts. 4/392 subtests failed.
Files=24, Tests=392, 7 wallclock secs ( 6.07 cusr + 0.37 csys = 6.44 CPU)
Failed 1/24 test programs. 4/392 subtests failed.
make: *** [test_dynamic] Error 255
--
Configure bugmail: http://bugs.koha.org/cgi-bin/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
More information about the Koha-bugs
mailing list