[libpackage-stash-perl] 05/11: Update rm-package-stash-conflicts.patch to changed test file.

gregor herrmann gregoa at debian.org
Sat Sep 27 16:43:56 UTC 2014


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

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

commit a6f4abb165da69d194ffaa75ef70db645c8c4932
Author: gregor herrmann <gregoa at debian.org>
Date:   Sat Sep 27 18:25:17 2014 +0200

    Update rm-package-stash-conflicts.patch to changed test file.
---
 debian/patches/rm-package-stash-conflicts.patch | 30 +++++++++++++++++--------
 1 file changed, 21 insertions(+), 9 deletions(-)

diff --git a/debian/patches/rm-package-stash-conflicts.patch b/debian/patches/rm-package-stash-conflicts.patch
index 7e7298e..44a0cf1 100644
--- a/debian/patches/rm-package-stash-conflicts.patch
+++ b/debian/patches/rm-package-stash-conflicts.patch
@@ -6,17 +6,29 @@ Origin: vendor
 Forwarded: not-needed
 Author: Jonathan Yu <jawnsy at cpan.org>
 Reviewed-by: gregor herrmann <gregoa at debian.org>
-Last-Update: 2011-04-21
+Last-Update: 2014-09-27
 
 --- a/t/00-compile.t
 +++ b/t/00-compile.t
-@@ -51,6 +51,9 @@
- do { push @scripts, _find_scripts($_) if -d $_ }
-     for qw{ bin script scripts };
+@@ -4,18 +4,18 @@
  
-+ at modules = grep { !/^Package::Stash::Conflicts$/ } @modules;
-+ at scripts = grep { !/^bin\/package-stash-conflicts$/ } @scripts;
-+
- my $plan = scalar(@modules) + scalar(@scripts);
- $plan ? (plan tests => $plan) : (plan skip_all => "no tests to run");
+ # this test was generated with Dist::Zilla::Plugin::Test::Compile 2.043
  
+-use Test::More  tests => 4 + ($ENV{AUTHOR_TESTING} ? 1 : 0);
++use Test::More  tests => 2 + ($ENV{AUTHOR_TESTING} ? 1 : 0);
+ 
+ 
+ 
+ my @module_files = (
+     'Package/Stash.pm',
+-    'Package/Stash/Conflicts.pm',
++#    'Package/Stash/Conflicts.pm',
+     'Package/Stash/PP.pm'
+ );
+ 
+ my @scripts = (
+-    'bin/package-stash-conflicts'
++#    'bin/package-stash-conflicts'
+ );
+ 
+ # no fake home requested

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



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