[libencode-perl] 07/08: Retouch pull #26 so it works with perl < 5.14

Anuradha Weeraman anuradha-guest at moszumanska.debian.org
Sun Nov 9 12:01:33 UTC 2014


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

anuradha-guest pushed a commit to tag 2.64
in repository libencode-perl.

commit 6f1f873ecc10e27c5ad6caca3af556e8f15c7446
Author: Dan Kogai <dankogai+github at gmail.com>
Date:   Thu Oct 30 00:12:47 2014 +0900

    Retouch pull #26 so it works with perl < 5.14
---
 Changes          | 6 ++++++
 MANIFEST         | 1 +
 t/utf8warnings.t | 6 ++++++
 3 files changed, 13 insertions(+)

diff --git a/Changes b/Changes
index 25e37d3..1f89d7a 100644
--- a/Changes
+++ b/Changes
@@ -3,6 +3,12 @@
 # $Id: Changes,v 2.63 2014/10/19 07:01:15 dankogai Exp $
 #
 $Revision: 2.63 $ $Date: 2014/10/19 07:01:15 $
+! t/utf8warnings.t MANIFEST
+  Retouch pull #26 so it works with perl < 5.14
+! Encode.pm
++ t/utf8warnings.t
+  Pulled: Catch and re-issue utf8 warnings at a higher level
+  https://github.com/dankogai/p5-encode/pull/26
 ! Encode.xs
   Applied: RT #99264: call_pv() can reallocate the stack
   https://rt.cpan.org/Ticket/Display.html?id=99264
diff --git a/MANIFEST b/MANIFEST
index f80d59c..66b83e8 100644
--- a/MANIFEST
+++ b/MANIFEST
@@ -102,6 +102,7 @@ t/taint.t       test script
 t/unibench.pl	benchmark script
 t/utf8ref.t	test script
 t/utf8strict.t	test script
+t/utf8warnings.t test script
 ucm/8859-1.ucm	Unicode Character Map
 ucm/8859-10.ucm	Unicode Character Map
 ucm/8859-11.ucm	Unicode Character Map
diff --git a/t/utf8warnings.t b/t/utf8warnings.t
index 24af470..9d93ece 100644
--- a/t/utf8warnings.t
+++ b/t/utf8warnings.t
@@ -1,5 +1,11 @@
 use strict;
 use warnings;
+BEGIN {
+    if ($] < 5.014){
+        print "1..0 # Skip: Perl 5.14.0 or later required\n";
+        exit 0;
+    }
+}
 
 use Encode;
 use Test::More tests => 7;

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



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