- Protect the syntax that we are checking with eval, so that when
it is not available we can do proper test suite checks instead
of exiting with compilation errors.
- Remove check for switch feature, which is considered experimental
with latest perl versions and emits warnings.
- When testing unlink, use a filename that is very unlikely to exist.
- Add libmodule-build-perl to Build-Depends which will be removed from
perl's core soon.
- Remove dh_auto_test override to enable the test suite.
Change-Id: I458f680d4743ec9025ff68c44b867a7e6398fcd6
- Pass a version option to strictures' import instead of a scalar.
- Remove libindirect-perl from Build-Depends and Depends, and from
Build.PL requires, as it is only used in development mode.
Change-Id: I848bb97da26510b13dad4dd4f1d246ac11f14790
Add libipc-system-simple-perl to Build-Depends and Depends, required
for Fatalized/autodying system()/exec().
Change-Id: I9342b8ca6eb8c6261079c6295e194aab40cb69de
Check manually for the Lancaster Consensus variables instead of using
the Test::DescribeMe module which is not packaged in Debian.
Conditionally use the Test::Spelling module instead of blindly assuming
it is there, as we only run the unit tests when doing author testing,
there is no point in always requiring the module.
Fix all_pod_files_spelling_ok() call, and remove done_testing which
should not be called in this case.
Add some new stop words.
Change-Id: I625cd104093f38cbd36a7439dbd8562d69638d55
Usage of ${perl:Depends} as documented at
http://www.debian.org/doc/packaging-manuals/perl-policy/ch-module_packages.html#s-module_deps
is misleading: it's *not* about perl module dependencies, but
instead:
| The program will look at Perl scripts and modules in your package, and will use this
| information to generate a dependency on perl or perlapi.
So we've to hardcode the list of Debian packages we
require for runtime.