[libemail-sender-perl] 02/03: Mark the package as autopkgtest'able
Salvatore Bonaccorso
carnil at debian.org
Sat May 30 16:38:08 UTC 2015
This is an automated email from the git hooks/post-receive script.
carnil pushed a commit to branch master
in repository libemail-sender-perl.
commit af0c1068359e85f0482db513ea585012fa0453af
Author: Salvatore Bonaccorso <carnil at debian.org>
Date: Sat May 30 18:31:11 2015 +0200
Mark the package as autopkgtest'able
Add util directory to list of files to be compied to tempoary directory
used for the smoke tests.
Exclude the Email/Sender/Simple.pm from files to be syntax checked.
---
debian/control | 1 +
debian/tests/pkg-perl/skip-syntax | 5 +++++
debian/tests/pkg-perl/test-files | 2 ++
3 files changed, 8 insertions(+)
diff --git a/debian/control b/debian/control
index f656572..90977ee 100644
--- a/debian/control
+++ b/debian/control
@@ -27,6 +27,7 @@ Standards-Version: 3.9.6
Vcs-Browser: https://anonscm.debian.org/cgit/pkg-perl/packages/libemail-sender-perl.git
Vcs-Git: git://anonscm.debian.org/pkg-perl/packages/libemail-sender-perl.git
Homepage: https://metacpan.org/release/Email-Sender
+Testsuite: autopkgtest-pkg-perl
Package: libemail-sender-perl
Architecture: all
diff --git a/debian/tests/pkg-perl/skip-syntax b/debian/tests/pkg-perl/skip-syntax
new file mode 100644
index 0000000..e9fbf07
--- /dev/null
+++ b/debian/tests/pkg-perl/skip-syntax
@@ -0,0 +1,5 @@
+# Checking this file uncovers a "Useless use of a constant ("220 OK") in
+# void context warning.". This warning will only appear when Simple.pm
+# file is the main compilation unit.
+# Cf. https://github.com/rjbs/Email-Sender/issues/30
+Email/Sender/Simple.pm
diff --git a/debian/tests/pkg-perl/test-files b/debian/tests/pkg-perl/test-files
new file mode 100644
index 0000000..904cc23
--- /dev/null
+++ b/debian/tests/pkg-perl/test-files
@@ -0,0 +1,2 @@
+util
+t
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libemail-sender-perl.git
More information about the Pkg-perl-cvs-commits
mailing list