[libtest-unixsock-perl] 01/03: Add patch to conditionally skip t/15_oo_unix.t

gregor herrmann gregoa at debian.org
Fri Jul 14 21:18:40 UTC 2017


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

gregoa pushed a commit to branch master
in repository libtest-unixsock-perl.

commit a53be2e24ffbcf31175956ccfe6f0361e0684810
Author: gregor herrmann <gregoa at debian.org>
Date:   Fri Jul 14 23:06:53 2017 +0200

    Add patch to conditionally skip t/15_oo_unix.t
    
    when Test::More >= 1.3 is found.
    
    Cf. #865380
---
 debian/patches/series            |  1 +
 debian/patches/test-simple.patch | 20 ++++++++++++++++++++
 2 files changed, 21 insertions(+)

diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..ce66a78
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+test-simple.patch
diff --git a/debian/patches/test-simple.patch b/debian/patches/test-simple.patch
new file mode 100644
index 0000000..395e931
--- /dev/null
+++ b/debian/patches/test-simple.patch
@@ -0,0 +1,20 @@
+Description: skip tests if Test::More >= 1.3 is installed
+Origin: vendor
+Bug-Debian: https://bugs.debian.org/865380
+Forwarded: no; unclear where the real problem is
+Author: gregor herrmann <gregoa at debian.org>
+Last-Update: 2017-07-14
+
+--- a/t/15_oo_unix.t
++++ b/t/15_oo_unix.t
+@@ -16,6 +16,10 @@
+ use IO::Socket::UNIX;
+ use t::ServerUNIX;
+ 
++my $TM_VERSION = $Test::More::VERSION;
++note "Test::More: $TM_VERSION";
++plan skip_all => 'This test has problems with Test::More >= 1.3' if $TM_VERSION >= 1.300000;
++
+ my $server = Test::UNIXSock->new(
+     code => sub {
+         my $path = shift;

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



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