[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 13:46:05 CEST 2012
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8383
Jared Camins-Esakov <jcamins at cpbibliography.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #10704|0 |1
is obsolete| |
--- Comment #3 from Jared Camins-Esakov <jcamins at cpbibliography.com> ---
Created attachment 10711
-->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=10711&action=edit
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 at cpbibliography.com>
Moved test to t/db_dependent
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list