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

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

commit c4d365422da99b4cb46dd042712fb586bf66732c
Author: gregor herrmann <gre...@debian.org>
Date:   Tue Jun 2 21:09:06 2015 +0200

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

diff --git a/debian/control b/debian/control
index 0ac213d..198403f 100644
--- a/debian/control
+++ b/debian/control
@@ -20,6 +20,7 @@ Standards-Version: 3.9.6
 Vcs-Browser: 
https://anonscm.debian.org/cgit/pkg-perl/packages/libpar-packer-perl.git
 Vcs-Git: git://anonscm.debian.org/pkg-perl/packages/libpar-packer-perl.git
 Homepage: http://par.perl.org/
+Testsuite: autopkgtest-pkg-perl
 
 Package: libpar-packer-perl
 Architecture: any
diff --git a/debian/patches/autopkgtest.patch b/debian/patches/autopkgtest.patch
new file mode 100644
index 0000000..eb8ff8f
--- /dev/null
+++ b/debian/patches/autopkgtest.patch
@@ -0,0 +1,28 @@
+Description: adjust paths when run under autopkgtest
+Origin: vendor
+Forwarded: not needed
+Author: gregor herrmann <gre...@debian.org>
+Last-Update: 2015-06-02
+
+--- a/t/30-current_exec.t
++++ b/t/30-current_exec.t
+@@ -22,6 +22,8 @@
+ my $PP = File::Spec->catfile( $SCRIPT, 'pp' );
+ my $blib_lib = File::Spec->catdir("blib", "lib");
+ 
++$PP = '/usr/bin/pp' if $ENV{ADTTMP};
++
+ my $sep = $Config{path_sep};
+ $sep = ':' if not defined $sep;
+ $blib_lib .= $sep if $ENV{PERL5LIB};
+--- a/t/90-rt59710.t
++++ b/t/90-rt59710.t
+@@ -17,6 +17,8 @@
+ my $EXE = File::Spec->catfile($ENV{PAR_TMPDIR},"rt59710$Config{_exe}");
+ my $PP = File::Spec->catfile(qw( blib script pp ));
+ 
++$PP = '/usr/bin/pp' if $ENV{ADTTMP};
++
+ system $^X, $PP, 
+     -o => $EXE, 
+     -e => 'use Unicode::UCD qw(charinfo); my $i = charinfo(0x42); print 
$i->{name};';
diff --git a/debian/patches/series b/debian/patches/series
index 1bd1bc6..c7e271e 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
 01_manpage-ext.patch
 fix-with-new-par-name
+autopkgtest.patch
diff --git a/debian/tests/pkg-perl/skip-smoke b/debian/tests/pkg-perl/skip-smoke
new file mode 100644
index 0000000..4f418a9
--- /dev/null
+++ b/debian/tests/pkg-perl/skip-smoke
@@ -0,0 +1,3 @@
+# this would need massive patching to work with the installed files
+# and without source and intermediate build results
+t/10-parl-generation.t

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