summaryrefslogtreecommitdiff
path: root/perl-dbix-class-optimisticlocking
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2017-09-06 22:19:08 +0200
committerErich Eckner <git@eckner.net>2017-09-06 22:19:08 +0200
commit9004506d4228d151180ca9b3d6ab886c2fbf423d (patch)
treeab851e6a7f8ee8014c40ff2c8ace76424c71c93b /perl-dbix-class-optimisticlocking
parent723b6227a3d05a978f4833497d3c4203bffc36d4 (diff)
downloadarchlinuxewe-9004506d4228d151180ca9b3d6ab886c2fbf423d.tar.xz
perl-dbix-class-optimisticlocking: enable all tests
Diffstat (limited to 'perl-dbix-class-optimisticlocking')
-rw-r--r--perl-dbix-class-optimisticlocking/PKGBUILD10
1 files changed, 9 insertions, 1 deletions
diff --git a/perl-dbix-class-optimisticlocking/PKGBUILD b/perl-dbix-class-optimisticlocking/PKGBUILD
index 6c5816466..8597a836d 100644
--- a/perl-dbix-class-optimisticlocking/PKGBUILD
+++ b/perl-dbix-class-optimisticlocking/PKGBUILD
@@ -3,7 +3,7 @@
pkgname='perl-dbix-class-optimisticlocking'
pkgver='0.02'
-pkgrel='3'
+pkgrel='4'
pkgdesc='Optimistic locking support for DBIx::Class'
arch=('any')
license=('PerlArtistic' 'GPL')
@@ -20,6 +20,12 @@ makedepends=(
'perl-pathtools'
'perl-test-simple'
)
+checkdepends=(
+ 'perl-dbd-sqlite'
+ 'perl-pod-coverage-trustpod'
+ 'perl-test-pod'
+ 'perl-test-pod-coverage'
+)
url='https://metacpan.org/release/DBIx-Class-OptimisticLocking'
_distdir="DBIx-Class-OptimisticLocking-${pkgver}"
source=("https://cpan.metacpan.org/authors/id/B/BP/BPHILLIPS/${_distdir}.tar.gz")
@@ -48,6 +54,8 @@ build() {
check() {
cd "${srcdir}/${_distdir}"
+ export RELEASE_TESTING=1
+
# If using Makefile.PL
if [ -r Makefile.PL ]; then
make test