[Koha] Failed 2/21 test scripts. 7/189 subtests failed during KOHA installation
kushanlw
kweralupitiya at gmail.com
Sun Jun 6 22:07:31 NZST 2010
Hi,
I'v being trying to install Koha for several days and keep on getting
failed. I have follwed the exact instructions on INSTALL file (for
debian-lenny). Since it says somewhere in this forum that perl 5.10 is now
working fine with koha-3 I kept it as it is. Used dselect to install
necessary modules and the rest through cpan.
'make test' shows the following errors in 7 subsets. need help
==========================================================================
localhost:/home/koha/Desktop/koha-3.00.03# 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....NOK 1/16
# Failed test 'use C4::Circulation;'
# at t/Circulation_barcodedecode.t line 10.
# Tried to use 'C4::Circulation'.
# Error: DBD driver has not implemented the AutoCommit attribute at
/usr/lib/perl5/DBI.pm line 690.
# Compilation failed in require at
/home/koha/Desktop/koha-3.00.03/blib/PERL_MODULE_DIR/C4/Circulation.pm line
25.
# BEGIN failed--compilation aborted at
/home/koha/Desktop/koha-3.00.03/blib/PERL_MODULE_DIR/C4/Circulation.pm line
25.
# Compilation failed in require at (eval 4) line 2.
# BEGIN failed--compilation aborted at (eval 4) line 2.
Undefined subroutine &C4::Circulation::barcodedecode called at
t/Circulation_barcodedecode.t line 31.
# Looks like you planned 16 tests but ran 1.
# Looks like you failed 1 test of 1 run.
# Looks like your test exited with 255 just after 1.
t/Circulation_barcodedecode....dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-16
Failed 16/16 tests, 0.00% okay
t/Dates........................ok 1/126#
# 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 'Illegal date specified' related
to those.
#
# Testing Legacy Functions: format_date and format_date_in_iso
#
Illegal date specified (year = 1952, month = 1, day = 00) at t/Dates.t line
58
Illegal date specified (year = 1952, month = 1, day = 00) at t/Dates.t line
61
#
# 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
80
Illegal date specified (year = 1952, month = 1, day = 00) at t/Dates.t line
80
Illegal date specified (year = 1952, month = 1, day = 00) at t/Dates.t line
80
Illegal date specified (year = 1952, month = 1, day = 00) at t/Dates.t line
80
#
# Testing object independence from class
# done.
# Looks like you planned 126 tests but ran 135.
t/Dates........................dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 127-135
Failed 9/126 tests, 92.86% okay
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/Languages....................ok
t/Maintainance.................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/Circulation_barcodedecode.t 255 65280 16 31 1-16
t/Dates.t 255 65280 126 9 127-135
Failed 2/21 test scripts. 7/189 subtests failed.
Files=21, Tests=189, 3 wallclock secs ( 2.11 cusr + 0.10 csys = 2.21 CPU)
Failed 2/21 test programs. 7/189 subtests failed.
make: *** [test_dynamic] Error 255
localhost:/home/koha/Desktop/koha-3.00.03#
============================================================================
--
View this message in context: http://old.nabble.com/Failed-2-21-test-scripts.-7-189-subtests-failed-during-KOHA-installation-tp28793148p28793148.html
Sent from the Koha - Discuss mailing list archive at Nabble.com.
More information about the Koha
mailing list