summaryrefslogtreecommitdiff
path: root/perl-test-compile
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2017-09-07 09:01:35 +0200
committerErich Eckner <git@eckner.net>2017-09-07 09:01:35 +0200
commit11b8467b527cb73cff4b01187d855ba702e91e7f (patch)
tree8575979426a9fa6991963e92fb5743e0ba634996 /perl-test-compile
parent30af729e7b99341d47a0240c4cac23fcd0ad81c8 (diff)
downloadarchlinuxewe-11b8467b527cb73cff4b01187d855ba702e91e7f.tar.xz
perl-test-compile: enable all tests
Diffstat (limited to 'perl-test-compile')
-rw-r--r--perl-test-compile/PKGBUILD15
1 files changed, 14 insertions, 1 deletions
diff --git a/perl-test-compile/PKGBUILD b/perl-test-compile/PKGBUILD
index cb9ee9ed8..8ccd87865 100644
--- a/perl-test-compile/PKGBUILD
+++ b/perl-test-compile/PKGBUILD
@@ -3,7 +3,7 @@
pkgname='perl-test-compile'
pkgver='1.3.0'
-pkgrel='3'
+pkgrel='4'
pkgdesc='Check whether Perl files compile correctly.'
arch=('any')
license=('PerlArtistic' 'GPL')
@@ -16,6 +16,17 @@ depends=(
'perl>=5.6.2 perl-universal-require perl-version')
makedepends=(
'perl-module-build>=0.38')
+checkdepends=(
+ 'perl-perl-critic'
+ 'perl-test-consistentversion'
+ 'perl-test-hasversion'
+ 'perl-test-perl-critic'
+ 'perl-test-pod'
+ 'perl-test-pod-coverage'
+ 'perl-test-portability-files'
+ 'perl-test-synopsis'
+ 'perl-test-warnings'
+ )
url='https://metacpan.org/release/Test-Compile'
_distdir="Test-Compile-v${pkgver}"
source=("https://cpan.metacpan.org/authors/id/E/EG/EGILES/${_distdir}.tar.gz")
@@ -44,6 +55,8 @@ build() {
check() {
cd "${srcdir}/${_distdir}"
+ export AUTHOR_TEST=1
+
# If using Makefile.PL
if [ -r Makefile.PL ]; then
make test