[libreply-perl] 06/09: Mark package as autopkgtest-able.

gregor herrmann gregoa at debian.org
Mon Nov 9 18:59:05 UTC 2015


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

gregoa pushed a commit to branch master
in repository libreply-perl.

commit 8ced01459570b8ee64bdb08a8a9b6429e70373da
Author: gregor herrmann <gregoa at debian.org>
Date:   Mon Nov 9 19:45:52 2015 +0100

    Mark package as autopkgtest-able.
---
 debian/control                    |  1 +
 debian/patches/autopkgtest.patch  | 19 +++++++++++++++++++
 debian/patches/series             |  1 +
 debian/tests/pkg-perl/syntax-skip |  7 +++++++
 4 files changed, 28 insertions(+)

diff --git a/debian/control b/debian/control
index e2427f1..342969a 100644
--- a/debian/control
+++ b/debian/control
@@ -2,6 +2,7 @@ Source: libreply-perl
 Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
 Uploaders: gregor herrmann <gregoa at debian.org>
 Section: perl
+Testsuite: autopkgtest-pkg-perl
 Priority: optional
 Build-Depends: debhelper (>= 8)
 Build-Depends-Indep: libcarp-always-perl,
diff --git a/debian/patches/autopkgtest.patch b/debian/patches/autopkgtest.patch
new file mode 100644
index 0000000..b3eb3d7
--- /dev/null
+++ b/debian/patches/autopkgtest.patch
@@ -0,0 +1,19 @@
+Description: look for script(s) in /usr/bin when run under autopkgtest
+Origin: vendor
+Forwarded: not-needed
+Author: gregor herrmann <gregoa at debian.org>
+Last-Update: 2015-11-09
+
+--- a/t/00-compile.t
++++ b/t/00-compile.t
+@@ -34,8 +34,9 @@
+     'Reply/Util.pm'
+ );
+ 
++my $bindir = $ENV{ADTTMP} ? '/usr/bin' : 'bin';
+ my @scripts = (
+-    'bin/reply'
++    "$bindir/reply"
+ );
+ 
+ # no fake home requested
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..aba7ccb
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+autopkgtest.patch
diff --git a/debian/tests/pkg-perl/syntax-skip b/debian/tests/pkg-perl/syntax-skip
new file mode 100644
index 0000000..0c5d299
--- /dev/null
+++ b/debian/tests/pkg-perl/syntax-skip
@@ -0,0 +1,7 @@
+# need Packages in Suggests:
+Reply/Plugin/AutoRefresh.pm
+Reply/Plugin/Autocomplete/Keywords.pm
+Reply/Plugin/DataDump.pm
+Reply/Plugin/DataPrinter.pm
+Reply/Plugin/Editor.pm
+Reply/Plugin/Nopaste.pm

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libreply-perl.git



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