[liblingua-en-numbers-ordinate-perl] 01/01: Add DEP-8 automatic package testing based on prove and adequate

Axel Beckert abe at deuxchevaux.org
Sun Jun 1 14:06:42 UTC 2014


This is an automated email from the git hooks/post-receive script.

abe pushed a commit to branch master
in repository liblingua-en-numbers-ordinate-perl.

commit aafc330942619eebd34caf127d8cfaad011fad05
Author: Axel Beckert <abe at deuxchevaux.org>
Date:   Sun Jun 1 16:03:02 2014 +0200

    Add DEP-8 automatic package testing based on prove and adequate
---
 debian/changelog      | 1 +
 debian/control        | 1 +
 debian/tests/adequate | 3 +++
 debian/tests/control  | 5 +++++
 debian/tests/prove    | 7 +++++++
 5 files changed, 17 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 4e58609..172b08d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
 liblingua-en-numbers-ordinate-perl (1.03-1) UNRELEASED; urgency=medium
 
   * New upstream release
+  * Add DEP-8 automatic package testing based on prove and adequate.
 
  -- Axel Beckert <abe at debian.org>  Sun, 01 Jun 2014 15:13:57 +0200
 
diff --git a/debian/control b/debian/control
index 1d868d0..20782ed 100644
--- a/debian/control
+++ b/debian/control
@@ -10,6 +10,7 @@ Standards-Version: 3.9.5
 Homepage: https://metacpan.org/release/Lingua-EN-Numbers-Ordinate
 Vcs-Git: git://anonscm.debian.org/pkg-perl/packages/liblingua-en-numbers-ordinate-perl.git
 Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-perl/packages/liblingua-en-numbers-ordinate-perl.git
+XS-Testsuite: autopkgtest
 
 Package: liblingua-en-numbers-ordinate-perl
 Architecture: all
diff --git a/debian/tests/adequate b/debian/tests/adequate
new file mode 100755
index 0000000..7071596
--- /dev/null
+++ b/debian/tests/adequate
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+adequate liblingua-en-numbers-ordinate-perl >&2
diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000..7aec6fd
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,5 @@
+Tests: prove
+Depends: liblingua-en-numbers-ordinate-perl, pmtools, libtest-harness-perl
+
+Tests: adequate
+Depends: liblingua-en-numbers-ordinate-perl, adequate
diff --git a/debian/tests/prove b/debian/tests/prove
new file mode 100755
index 0000000..7d837c5
--- /dev/null
+++ b/debian/tests/prove
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+set -e
+
+echo USING: `pmpath Lingua::EN::Numbers::Ordinate`
+
+prove -v

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/liblingua-en-numbers-ordinate-perl.git



More information about the Pkg-perl-cvs-commits mailing list