]> git.koha-community.org Git - koha.git/commit
Bug 8383: Add test to check that Perl scripts compile
authorJared Camins-Esakov <jcamins@cpbibliography.com>
Mon, 9 Jul 2012 02:06:28 +0000 (22:06 -0400)
committerJared Camins-Esakov <jcamins@cpbibliography.com>
Thu, 2 Aug 2012 21:32:25 +0000 (17:32 -0400)
commitbb208e9852f2e1f6549898f860d224356adf0823
tree655aade440d1b98773543b27fbed106cc8ab98ac
parent845a48898b361f78cdc533f43b591b9b6243ccf1
Bug 8383: Add test to check that Perl scripts compile

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@cpbibliography.com>
Moved test to t/db_dependent

Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
Conflicts:

C4/Installer/PerlDependencies.pm
(cherry picked from commit 4e2b90506d3b9570987e95918370e07d04df9091)

Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
C4/Installer/PerlDependencies.pm
debian/control
t/db_dependent/00-strict.t [new file with mode: 0644]