This is an automated email from the git hooks/post-receive script. gregoa pushed a commit to branch master in repository libwww-search-perl.
commit a388d52b2347e73d7d674255c06230b82a928b05 Author: gregor herrmann <gre...@debian.org> Date: Sun Dec 6 14:26:41 2015 +0100 Mark package as autopkgtest-able. --- debian/control | 1 + debian/patches/autopkgtest.patch | 17 +++++++++++++++++ debian/patches/series | 1 + debian/tests/pkg-perl/syntax-skip | 2 ++ 4 files changed, 21 insertions(+) diff --git a/debian/control b/debian/control index 9c9019f..13f2b4a 100644 --- a/debian/control +++ b/debian/control @@ -2,6 +2,7 @@ Source: libwww-search-perl Maintainer: Debian Perl Group <pkg-perl-maintain...@lists.alioth.debian.org> Uploaders: Ryan Niebur <r...@debian.org> Section: perl +Testsuite: autopkgtest-pkg-perl Priority: optional Build-Depends: debhelper (>= 9), pkg-components (>= 0.5), diff --git a/debian/patches/autopkgtest.patch b/debian/patches/autopkgtest.patch new file mode 100644 index 0000000..4b4b257 --- /dev/null +++ b/debian/patches/autopkgtest.patch @@ -0,0 +1,17 @@ +Description: adjust path when run under autopkgtest +Origin: vendor +Forwarded: not-needed +Author: gregor herrmann <gre...@debian.org> +Last-Update: 2015-12-06 + +--- a/t/autosearch.t ++++ b/t/autosearch.t +@@ -7,7 +7,7 @@ + + use strict; + +-my $sProg = catfile('blib', 'script', 'AutoSearch'); ++my $sProg = $ENV{ADTTMP} ? '/usr/bin/AutoSearch' : catfile('blib', 'script', 'AutoSearch'); + my $iWIN32 = ($^O =~ m!win32!i); + + file_exists_ok($sProg, "$sProg exists"); diff --git a/debian/patches/series b/debian/patches/series index 695a25f..ee36f91 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -4,3 +4,4 @@ man.patch all_from.patch pod_altavista.patch pod_pagesjaunes.patch +autopkgtest.patch diff --git a/debian/tests/pkg-perl/syntax-skip b/debian/tests/pkg-perl/syntax-skip new file mode 100644 index 0000000..4a513f7 --- /dev/null +++ b/debian/tests/pkg-perl/syntax-skip @@ -0,0 +1,2 @@ +# probably not meant to be used directly +WWW/Search/AltaVista/Intranet3.pm -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libwww-search-perl.git _______________________________________________ Pkg-perl-cvs-commits mailing list Pkg-perl-cvs-commits@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits