[libstring-koremutake-perl] 01/01: Add patch to remove "use lib 'lib'" from test suite
Axel Beckert
abe at deuxchevaux.org
Sat Jun 6 20:28:24 UTC 2015
This is an automated email from the git hooks/post-receive script.
abe pushed a commit to branch master
in repository libstring-koremutake-perl.
commit 467b57c13f2370abd3108d26d40b0a9b2180651f
Author: Axel Beckert <abe at deuxchevaux.org>
Date: Sat Jun 6 22:28:06 2015 +0200
Add patch to remove "use lib 'lib'" from test suite
autopkgtest would likely fail otherwise.
---
debian/changelog | 1 +
debian/patches/series | 1 +
debian/patches/use-lib-is-bad-for-autopkgtest.patch | 16 ++++++++++++++++
3 files changed, 18 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index 2049bf4..8ec739a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -8,6 +8,7 @@ libstring-koremutake-perl (0.30-5) UNRELEASED; urgency=medium
[ Axel Beckert ]
* Mark package as autopkgtestable
+ + Add patch to remove "use lib 'lib'" from test suite.
* Declare compliance with Debian Policy 3.9.6
* Add explicit build dependency on libmodule-build-perl
* Convert debian/copyright to machine-readable DEP5 format.
diff --git a/debian/patches/series b/debian/patches/series
index 2c2c938..b3100db 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
mention-bigint-under-caveats.patch
+use-lib-is-bad-for-autopkgtest.patch
diff --git a/debian/patches/use-lib-is-bad-for-autopkgtest.patch b/debian/patches/use-lib-is-bad-for-autopkgtest.patch
new file mode 100644
index 0000000..2fd117e
--- /dev/null
+++ b/debian/patches/use-lib-is-bad-for-autopkgtest.patch
@@ -0,0 +1,16 @@
+Description: Remove "use lib 'lib'" from test suite
+ If lib should be in @INC should be left up to the tester as it
+ heavily depends on what the tester wants to test.
+Author: Axel Beckert <abe at debian.org>
+
+Index: libstring-koremutake-perl/t/simple.t
+===================================================================
+--- libstring-koremutake-perl.orig/t/simple.t 2015-06-06 21:35:38.729155165 +0200
++++ libstring-koremutake-perl/t/simple.t 2015-06-06 22:16:31.995092905 +0200
+@@ -1,6 +1,5 @@
+ use strict;
+ use warnings;
+-use lib 'lib';
+ use Test::More tests => 34;
+ use Test::Exception;
+ use_ok('String::Koremutake');
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libstring-koremutake-perl.git
More information about the Pkg-perl-cvs-commits
mailing list