]> 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)
committerChris Cormack <chrisc@catalyst.net.nz>
Tue, 10 Jul 2012 20:49:19 +0000 (08:49 +1200)
commit4e2b90506d3b9570987e95918370e07d04df9091
tree921cc1a7d07bf8a30781b6eee9dd57aec4685330
parent67ead476aa7fb083347e3f4b2798d09850252074
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
C4/Installer/PerlDependencies.pm
debian/control
t/db_dependent/00-strict.t [new file with mode: 0644]