From: Rafael Garcia-Suarez Date: Mon, 7 Sep 2009 09:27:55 +0000 (+0200) Subject: Make Encode tests work with $PERL_CORE in the environment X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=ec2b54b7e8d0c25a7b872d5de1c40b38d12325dd;p=p5sagit%2Fp5-mst-13.2.git Make Encode tests work with $PERL_CORE in the environment --- diff --git a/ext/Encode/t/CJKT.t b/ext/Encode/t/CJKT.t index d58e3e3..1648b1e 100644 --- a/ext/Encode/t/CJKT.t +++ b/ext/Encode/t/CJKT.t @@ -1,8 +1,4 @@ BEGIN { - if ($ENV{'PERL_CORE'}){ - chdir 't'; - unshift @INC, '../lib'; - } require Config; import Config; if ($Config{'extensions'} !~ /\bEncode\b/) { print "1..0 # Skip: Encode was not built\n"; diff --git a/ext/Encode/t/guess.t b/ext/Encode/t/guess.t index 707ca85..37ddd5a 100644 --- a/ext/Encode/t/guess.t +++ b/ext/Encode/t/guess.t @@ -1,8 +1,4 @@ BEGIN { - if ($ENV{'PERL_CORE'}){ - chdir 't'; - unshift @INC, '../lib'; - } require Config; import Config; if ($Config{'extensions'} !~ /\bEncode\b/) { print "1..0 # Skip: Encode was not built\n"; diff --git a/ext/Encode/t/perlio.t b/ext/Encode/t/perlio.t index 8138a89..e50dfa4 100644 --- a/ext/Encode/t/perlio.t +++ b/ext/Encode/t/perlio.t @@ -1,8 +1,4 @@ BEGIN { - if ($ENV{'PERL_CORE'}){ - chdir 't'; - unshift @INC, '../lib'; - } require Config; import Config; if ($Config{'extensions'} !~ /\bEncode\b/) { print "1..0 # Skip: Encode was not built\n"; diff --git a/t/TEST b/t/TEST index 4eebf9a..b197554 100755 --- a/t/TEST +++ b/t/TEST @@ -28,7 +28,6 @@ my %temp_no_core = '../ext/Compress-Raw-Bzip2' => 1, '../ext/Compress-Raw-Zlib' => 1, '../ext/Devel-PPPort' => 1, - '../ext/Encode' => 1, '../ext/IO-Compress' => 1, '../ext/IPC-SysV' => 1, '../ext/MIME-Base64' => 1,