[Koha-bugs] [Bug 8383] Need test to check that Perl files will compile

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Jul 9 04:57:03 CEST 2012


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8383

Chris Cormack <chris at bigballofwax.co.nz> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Needs Signoff               |Failed QA
                 CC|                            |chris at bigballofwax.co.nz

--- Comment #2 from Chris Cormack <chris at bigballofwax.co.nz> ---
I like it, except this does more than check they will compile.

eg
not ok 28 - Syntax check acqui/modordernotes.pl
#   Failed test 'Syntax check acqui/modordernotes.pl'
#   at /usr/share/perl5/Test/Strict.pm line 305.
# DBI connect('dbname=koha;host=localhost;port=3306','kohaadmin',...) failed:
Access denied for user 'kohaadmin'@'localhost' (using password: YES) at
C4/Context.pm line 758


Because they use C4::Context, to do a test like this we need a database, hence
we need this script in t/db_dependent/

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list