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

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

commit 7f53eff1b270e45e16d01b362b4a97c1a7a37ac1
Author: gregor herrmann <gre...@debian.org>
Date:   Mon Jun 8 20:00:48 2015 +0200

    Mark package as autopkgtest-able.
---
 debian/control                   |  1 +
 debian/patches/autopkgtest.patch | 19 +++++++++++++++++++
 debian/patches/series            |  1 +
 3 files changed, 21 insertions(+)

diff --git a/debian/control b/debian/control
index a0f85b6..4023a28 100644
--- a/debian/control
+++ b/debian/control
@@ -18,6 +18,7 @@ Standards-Version: 3.9.6
 Vcs-Browser: 
https://anonscm.debian.org/cgit/pkg-perl/packages/libdevel-nytprof-perl.git
 Vcs-Git: git://anonscm.debian.org/pkg-perl/packages/libdevel-nytprof-perl.git
 Homepage: https://metacpan.org/release/Devel-NYTProf
+Testsuite: autopkgtest-pkg-perl
 
 Package: libdevel-nytprof-perl
 Architecture: any
diff --git a/debian/patches/autopkgtest.patch b/debian/patches/autopkgtest.patch
new file mode 100644
index 0000000..524a589
--- /dev/null
+++ b/debian/patches/autopkgtest.patch
@@ -0,0 +1,19 @@
+Description: search scripts also in /usr/bin
+ this way the testsuite works and tests the installed scripts
+ when run under autopkgtest
+Origin: vendor
+Forwarded: not needed
+Author: gregor herrmann <gre...@debian.org>
+Last-Update: 2015-06-08
+
+--- a/t/lib/NYTProfTest.pm
++++ b/t/lib/NYTProfTest.pm
+@@ -75,7 +75,7 @@
+     unshift @INC, '../blib/arch', '../blib/lib';
+ }
+ my $bindir      = (grep {-d} qw(./blib/script ../blib/script))[0] || do {
+-    my $bin = (grep {-d} qw(./bin ../bin))[0]
++    my $bin = (grep {-d} qw(./bin ../bin /usr/bin))[0]
+         or die "Can't find scripts";
+     warn "Couldn't find blib/script directory, so using $bin";
+     $bin;
diff --git a/debian/patches/series b/debian/patches/series
index c5fa0bb..9e77a65 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
 manpage-section.patch
 usr-share.patch
 flamegraph.patch
+autopkgtest.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/libdevel-nytprof-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

Reply via email to