diff options
author | Father Chrysostomos <sprout@cpan.org> | 2016-05-21 12:22:33 -0700 |
---|---|---|
committer | Father Chrysostomos <sprout@cpan.org> | 2016-07-13 01:12:47 -0700 |
commit | a15a3d9b600adf7d9dd78193d608361f302b0370 (patch) | |
tree | 0e874f12d3de784f0107028fc484255738fa98d4 /cpan/Encode | |
parent | 1a53cdb5c0a2c7f6b92ecb87480a4448bb6022c0 (diff) | |
download | perl-a15a3d9b600adf7d9dd78193d608361f302b0370.tar.gz |
Disable ${^ENCODING}
${^ENCODING} is disabled and tests are modified to account.
Diffstat (limited to 'cpan/Encode')
-rw-r--r-- | cpan/Encode/t/enc_data.t | 4 | ||||
-rw-r--r-- | cpan/Encode/t/enc_module.t | 4 | ||||
-rw-r--r-- | cpan/Encode/t/encoding.t | 4 | ||||
-rw-r--r-- | cpan/Encode/t/jperl.t | 4 |
4 files changed, 16 insertions, 0 deletions
diff --git a/cpan/Encode/t/enc_data.t b/cpan/Encode/t/enc_data.t index a0caf650f1..b4015955bb 100644 --- a/cpan/Encode/t/enc_data.t +++ b/cpan/Encode/t/enc_data.t @@ -14,6 +14,10 @@ BEGIN { print "1..0 # encoding pragma does not support EBCDIC platforms\n"; exit(0); } + if ("$]" >= 5.025) { + print "1..0 # encoding pragma not supported in Perl 5.26\n"; + exit(0); + } if ($] <= 5.008 and !$Config{perl_patchlevel}){ print "1..0 # Skip: Perl 5.8.1 or later required\n"; exit 0; diff --git a/cpan/Encode/t/enc_module.t b/cpan/Encode/t/enc_module.t index 05fc6c2f64..3004ed2bac 100644 --- a/cpan/Encode/t/enc_module.t +++ b/cpan/Encode/t/enc_module.t @@ -18,6 +18,10 @@ BEGIN { print "1..0 # encoding pragma does not support EBCDIC platforms\n"; exit(0); } + if ("$]" >= 5.025) { + print "1..0 # encoding pragma not supported in Perl 5.26\n"; + exit(0); + } } use lib qw(t ext/Encode/t ../ext/Encode/t); # latter 2 for perl core use Mod_EUCJP; diff --git a/cpan/Encode/t/encoding.t b/cpan/Encode/t/encoding.t index 21f9e47eb7..18d1921428 100644 --- a/cpan/Encode/t/encoding.t +++ b/cpan/Encode/t/encoding.t @@ -12,6 +12,10 @@ BEGIN { print "1..0 # encoding pragma does not support EBCDIC platforms\n"; exit(0); } + if ("$]" >= 5.025) { + print "1..0 # encoding pragma not supported in Perl 5.26\n"; + exit(0); + } } print "1..33\n"; diff --git a/cpan/Encode/t/jperl.t b/cpan/Encode/t/jperl.t index 3abe86b9b7..5f437fff10 100644 --- a/cpan/Encode/t/jperl.t +++ b/cpan/Encode/t/jperl.t @@ -17,6 +17,10 @@ BEGIN { print "1..0 # Skip: EBCDIC\n"; exit 0; } + if ("$]" >= 5.025) { + print "1..0 # encoding pragma not supported in Perl 5.26\n"; + exit(0); + } $| = 1; } |