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

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

commit 87d6e3fc17ffc79a4927668e1618e7ec1d4f5083
Author: gregor herrmann <gre...@debian.org>
Date:   Thu Apr 30 17:59:03 2015 +0200

    Mark package as autopkgtest-able.
---
 debian/control                    |  1 +
 debian/patches/autopkgtest.patch  | 17 +++++++++++++++++
 debian/patches/series             |  1 +
 debian/tests/pkg-perl/module-name |  2 ++
 debian/tests/pkg-perl/test-files  |  7 +++++++
 5 files changed, 28 insertions(+)

diff --git a/debian/control b/debian/control
index efb4b5d..bbc96b9 100644
--- a/debian/control
+++ b/debian/control
@@ -17,6 +17,7 @@ Standards-Version: 3.9.6
 Vcs-Browser: 
https://anonscm.debian.org/cgit/pkg-perl/packages/libverilog-perl.git
 Vcs-Git: git://anonscm.debian.org/pkg-perl/packages/libverilog-perl.git
 Homepage: https://metacpan.org/release/Verilog-Perl
+Testsuite: autopkgtest-pkg-perl
 
 Package: libverilog-perl
 Architecture: any
diff --git a/debian/patches/autopkgtest.patch b/debian/patches/autopkgtest.patch
new file mode 100644
index 0000000..cab3f55
--- /dev/null
+++ b/debian/patches/autopkgtest.patch
@@ -0,0 +1,17 @@
+Description: test installed scripts in /usr/bin when run under autopkgest
+Origin: vendor
+Forwarded: not-needed
+Author: gregor herrmann <gre...@debian.org>
+Last-Update: 2015-04-30
+
+--- a/t/02_help.t
++++ b/t/02_help.t
+@@ -9,7 +9,7 @@
+ use Test::More;
+ 
+ BEGIN { require "t/test_utils.pl"; }
+-my @execs = glob ("blib/script/[a-z]*");
++my @execs = $ENV{ADTTMP} ? glob 
("/usr/bin/{vhier,vpassert,vppreproc,vrename}") : glob ("blib/script/[a-z]*");
+ plan tests => (3 * ($#execs+1));
+ 
+ foreach my $exe (@execs) {
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/module-name 
b/debian/tests/pkg-perl/module-name
new file mode 100644
index 0000000..513dcde
--- /dev/null
+++ b/debian/tests/pkg-perl/module-name
@@ -0,0 +1,2 @@
+# let's take the one which is used in META.yml for version_from
+Verilog::Language
diff --git a/debian/tests/pkg-perl/test-files b/debian/tests/pkg-perl/test-files
new file mode 100644
index 0000000..8676270
--- /dev/null
+++ b/debian/tests/pkg-perl/test-files
@@ -0,0 +1,7 @@
+t/
+verilog/
+vhier
+vpassert
+vppreproc
+vrename
+vsplitmodule

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