]> git.koha-community.org Git - koha.git/commit
Bug 5485: Add script to run Test::Perl::Critic
authorColin Campbell <colin.campbell@ptfs-europe.com>
Tue, 15 Mar 2011 13:40:23 +0000 (14:40 +0100)
committerChris Cormack <chrisc@catalyst.net.nz>
Wed, 16 Mar 2011 23:35:58 +0000 (12:35 +1300)
commit5f7b1a58f0f91a759adab9622b35db1ed3c3dd54
tree24ddbc39d8865601083bcc0e55dae6f5cb496272
parentde4619b849e4cc6f7bdc821bd52581876a02b7d2
Bug 5485: Add script to run Test::Perl::Critic

Tests are run if TEST_QA environment variable is set
and Test::Perl::Critic is installed
e.g.
TEST_QA=1 prove =l t/00-testcritic.t

Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
t/00-testcritic.t [new file with mode: 0755]
t/perlcriticrc [new file with mode: 0644]