[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
Tue Mar 26 19:22:11 CET 2013


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

Mason James <mtj at kohaaloha.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #10723|0                           |1
        is obsolete|                            |

--- Comment #8 from Mason James <mtj at kohaaloha.com> ---
Created attachment 16900
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=16900&action=edit
Bug 8383: Add test to check that Perl scripts

This patch adds t/db_dependent/00-strict.pl which tests that all Perl
scripts compile. I chose to use Test::Strict so that in the future we
can also have the test check that "use strict" and "use warnings" are
enabled.

To test:
1. Run t/db_dependent/00-strict.pl.
2. Run around waving your arms in the air that we have a couple of
   scripts that don't compile.
3. Actually, that's about it. You could test my patch for bug 8384 next.

Signed-off-by: Jared Camins-Esakov <jcamins at cpbibliography.com>
Moved test to t/db_dependent

Signed-off-by: Frédéric Demians <f.demians at tamil.fr>

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


More information about the Koha-bugs mailing list