]> eyrie.org Git - kerberos/krb5-strength.git/commit
Skip Perl strictness testing if module prereqs are missing
authorRuss Allbery <eagle@eyrie.org>
Thu, 27 Feb 2014 04:04:54 +0000 (20:04 -0800)
committerRuss Allbery <eagle@eyrie.org>
Thu, 27 Feb 2014 04:04:54 +0000 (20:04 -0800)
commit42e471894382aca6af9af82d1f03814d7f49d9dc
tree41432af704b6ede9b99d2a2e4f904ef2874dd350
parent284cdb6fccaff4e5c5fbebe008857783d3419da2
Skip Perl strictness testing if module prereqs are missing

Modify the standard Perl strictness test, which also checks Perl
scripts for syntax errors, to support a list of prerequisite
modules.  Skip the test if any of those modules can't be loaded,
since they'll otherwise cause failures.  This makes the testing
more robust given that we have some scripts that require a bunch
of Perl modules not needed by the main package.
tests/data/perl.conf
tests/perl/strict-t
tests/tap/perl/Test/RRA/Config.pm