Koha 3.0.1: make test errors
Hi, I tried to install Koha3. Everything is Ok for the command "make test" on version 3.00.00. But I encounter an error message of the command "make test" on version 3.00.01. I can not find out a solution from Koha mailing list. Could you kindly share your experience for me? Think you very much for your help! Error message: ================================= [root@libtest koha-3.00.01-stable]# make test PERL_DL_NONLAZY=1 KOHA_CONF=blib/KOHA_CONF_DIR/koha-conf.xml /usr/local/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/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 9 extra. 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 t/Debug........................ok 1/3# 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/Dates.t 255 65280 126 9 127-135 Failed 1/21 test scripts. -9/189 subtests failed. Files=21, Tests=189, 2 wallclock secs ( 1.93 cusr + 0.16 csys = 2.09 CPU) Failed 1/21 test programs. -9/189 subtests failed. make: *** [test_dynamic] Error 255
Hi Quanzhong Zhang, At 04.40 08/05/2009, Quanzhong Zhang wrote:
I tried to install Koha3. Everything is Ok for the command "make test" on version 3.00.00. But I encounter an error message of the command "make test" on version 3.00.01. I can not find out a solution from Koha mailing list. Could you kindly share your experience for me?
[...]
t/Dates.t 255 65280 126 9 127-135 Failed 1/21 test scripts. -9/189 subtests failed. Files=21, Tests=189, 2 wallclock secs ( 1.93 cusr + 0.16 csys = 2.09 CPU) Failed 1/21 test programs. -9/189 subtests failed. make: *** [test_dynamic] Error 255
in fact this is a fail of the test suit. But is not a blocking fail. You can install and use koha 3.0 without problem. As general rule any 'Error 255' with 'make test' is not a bloking error. This bug is present in bugzilla, http://bugs.koha.org/cgi-bin/bugzilla3/show_bug.cgi?id=3165 If you want you can also test my patch about it http://bugs.koha.org/cgi-bin/bugzilla3/attachment.cgi?id=758 Bye Zeno Tajoli CILEA - Segrate (MI) tajoliAT_SPAM_no_prendiATcilea.it (Indirizzo mascherato anti-spam; sostituisci quanto tra AT con @)
participants (2)
-
Quanzhong Zhang -
Zeno Tajoli