[Koha-devel] make test fails on BackgroundJob.t

Koustubha Kale kmkale at anantcorp.com
Fri Jan 28 10:41:42 CET 2011


Hi All,
I am doing a dev install with a fresh git clone on a new machine.
make test fails with following..

Test Summary Report
-------------------
t/BackgroundJob.t                 (Wstat: 65280 Tests: 1 Failed: 0)
  Non-zero exit status: 255
  Parse errors: Bad plan.  You planned 8 tests but ran 1.
Files=99, Tests=6821, 53 wallclock secs ( 1.57 usr  0.24 sys + 26.95
cusr  2.46 csys = 31.22 CPU)
Result: FAIL
Failed 1/99 test programs. 0/6821 subtests failed.
make: *** [test_dynamic] Error 255


Looking back on the make test output I see

t/BackgroundJob.t ................... DBD::mysql::db selectrow_array
failed: Table 'kohadev.systempreferences' doesn't exist at
/home/kk/kohaclone/blib/PERL_MODULE_DIR/C4/Context.pm line 480.
DBD::mysql::db selectrow_array failed: Table
'kohadev.systempreferences' doesn't exist at
/home/kk/kohaclone/blib/PERL_MODULE_DIR/C4/Context.pm line 480.
t/BackgroundJob.t ................... 1/8 DBD::mysql::db
selectrow_array failed: Table 'kohadev.systempreferences' doesn't
exist at /home/kk/kohaclone/blib/PERL_MODULE_DIR/C4/Context.pm line
480.
Use of uninitialized value $timeout in pattern match (m//) at
/home/kk/kohaclone/blib/PERL_MODULE_DIR/C4/Auth.pm line 606.
DBD::mysql::db selectrow_array failed: Table
'kohadev.systempreferences' doesn't exist at
/home/kk/kohaclone/blib/PERL_MODULE_DIR/C4/Context.pm line 480.
DBD::mysql::db selectrow_array failed: Table
'kohadev.systempreferences' doesn't exist at
/home/kk/kohaclone/blib/PERL_MODULE_DIR/C4/Context.pm line 480.
OPAC Install required, redirecting to maintenance at
/home/kk/kohaclone/blib/PERL_MODULE_DIR/C4/Auth.pm line 560.
# Looks like you planned 8 tests but ran 1.
t/BackgroundJob.t ................... Dubious, test returned 255
(wstat 65280, 0xff00)
Failed 7/8 subtests

Can someone please tell me whats going on here?

PS : And I also see a bunch of " DBD::mysql::db selectrow_array
failed: Table 'kohadev.systempreferences' doesn't exist at
/home/kk/kohaclone/blib/PERL_MODULE_DIR/C4/Context.pm line 480." lines
in the make test output. I can login to the kohadev database with the
credentials I am supplying perl Makefile.PL


Regards,
Koustubha Kale
Anant Corporation

Contact Details :
Address  : 103, Armaan Residency, R. W Sawant Road, Nr. Golden Dyes
Naka, Thane (w),
                Maharashtra, India, Pin : 400601.
TeleFax  : +91-22-21720108, +91-22-21720109
Mobile     : +919820715876
Website  : http://www.anantcorp.com
Blog : http://www.anantcorp.com/blog/?author=2


More information about the Koha-devel mailing list