Hi

  First, I found this link useful http://lists.katipo.co.nz/public/koha/2001/004578.html for error about 't/Circulation_barcodedecode....DBD::mysql::db selectrow_array failed: Table 'koha.systempreferences' doesn't exist'
  Anyway, I still can not get 'make test'. I got this problem:

$ 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/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  Failed  List of Failed
-------------------------------------------------------------------------------
t/Dates.t    255 65280   126    9   7.14%  127-135
Failed 1/21 test scripts, 95.24% okay. -9/189 subtests failed, 104.76% okay.
make: *** [test_dynamic] Error 255

Thank you