[libparse-pmfile-perl] 01/02: Update autopkgtest.patch.

gregor herrmann gregoa at debian.org
Mon May 11 14:40:44 UTC 2015


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

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

commit e771271729343aaac7a9c82e7a170047ae00e327
Author: gregor herrmann <gregoa at debian.org>
Date:   Mon May 11 16:37:55 2015 +0200

    Update autopkgtest.patch.
    
    Adapt new test t/81_version_overload_with_explicit_vpp.t for being run
    against the installed package as well.
---
 debian/patches/autopkgtest.patch | 22 +++++++++++++++++++++-
 1 file changed, 21 insertions(+), 1 deletion(-)

diff --git a/debian/patches/autopkgtest.patch b/debian/patches/autopkgtest.patch
index 16a3ecd..6fd1aee 100644
--- a/debian/patches/autopkgtest.patch
+++ b/debian/patches/autopkgtest.patch
@@ -5,7 +5,7 @@ Description: Adjust tests to autopkgtest
 Origin: vendor
 Forwarded: not-needed
 Author: gregor herrmann <gregoa at debian.org>
-Last-Update: 2014-10-14
+Last-Update: 2015-05-11
 
 --- a/t/10_self_check.t
 +++ b/t/10_self_check.t
@@ -45,3 +45,23 @@ Last-Update: 2014-10-14
  
    is $pkg->{'Parse::PMFile'}{version} => $Parse::PMFile::VERSION, "version of Parse::PMFile matches \$Parse::PMFile::VERSION";
  
+--- a/t/81_version_overload_with_explicit_vpp.t
++++ b/t/81_version_overload_with_explicit_vpp.t
+@@ -3,6 +3,7 @@
+ use Test::More;
+ use FindBin;
+ use Parse::PMFile;
++use Config;
+ 
+ eval "use version::vpp; 1" or plan skip_all => "requires version::vpp";
+ 
+@@ -12,7 +13,8 @@
+   no warnings 'once';
+   local $Parse::PMFile::FORK = $_;
+   my $p = Parse::PMFile->new;
+-  my $pkg = $p->parse("$FindBin::Bin/../lib/Parse/PMFile.pm");
++  my $dir = $ENV{ADTTMP} ? $Config{vendorlib} : "$FindBin::Bin/../lib";
++  my $pkg = $p->parse("$dir/Parse/PMFile.pm");
+ 
+   is $pkg->{'Parse::PMFile'}{version} => $Parse::PMFile::VERSION, "version of Parse::PMFile matches \$Parse::PMFile::VERSION";
+ 

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



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