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)
committerPaul Poulain <paul.poulain@biblibre.com>
Tue, 10 Jul 2012 09:13:40 +0000 (11:13 +0200)
commit7ddf7cbb0364f111f87d081a6423f8773c10e593
tree910382237c32034a6180485e460d5653c0db2261
parentee9e5ba6b5bac861f793acc0c1f1b807c5ab91f2
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>
C4/Installer/PerlDependencies.pm
debian/control
t/db_dependent/00-strict.t [new file with mode: 0644]