[SCM] Debian packaging of libstrictures-perl branch, master, updated. eee702b42c69a3a0ae891b8cb9548178e20ee841
Florian Schlichting
fschlich at zedat.fu-berlin.de
Sun Apr 8 22:06:22 UTC 2012
The following commit has been merged in the master branch:
commit 30f3c5993ae5a81701aba6226d492fe156c76cc9
Author: Florian Schlichting <fschlich at zedat.fu-berlin.de>
Date: Mon Apr 9 00:03:33 2012 +0200
added disable_extra_tests.patch, needed until multidimensional and bareword::filehandles are packaged and added as build dependencies and Suggests:
diff --git a/debian/patches/disable_extra_tests.patch b/debian/patches/disable_extra_tests.patch
new file mode 100644
index 0000000..cb70368
--- /dev/null
+++ b/debian/patches/disable_extra_tests.patch
@@ -0,0 +1,22 @@
+Description: disable extra tests unless explicitly enabled
+ Lack of the extra modules (indirect multidimensional bareword::filehandles) is
+ no longer fatal, but now the eval no longer dies and hence the 'strictures
+ blows up for t/00load.t' test fails. This patch causes the extra tests to
+ only be run when explicitly requested.
+ .
+ Debian should drop this patch or enable extra tests once all extra modules are
+ available. They should be added to Suggests as well.
+Author: Florian Schlichting <fschlich at zedat.fu-berlin.de>
+Forwarded: https://rt.cpan.org/Public/Bug/Display.html?id=76419
+
+--- a/t/strictures.t
++++ b/t/strictures.t
+@@ -32,7 +32,7 @@
+
+ SKIP: {
+ skip 'Extra tests disabled on perls <= 5.008003', 1
+- if $] < 5.008004;
++ if $] < 5.008004 or !$ENV{PERL_STRICTURES_EXTRA};
+ local $0 = 't/00load.t';
+ sub Foo::new { 1 }
+ chdir("t/smells-of-vcs");
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..ad97025
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+disable_extra_tests.patch
--
Debian packaging of libstrictures-perl
More information about the Pkg-perl-cvs-commits
mailing list