diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2002-03-23 19:50:02 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2002-03-23 19:50:02 +0000 |
commit | 071db25d4bd6237e4ead7e44b9c1420448a117ff (patch) | |
tree | a150089b0a541831d71a182e6f31041f74d18f2f /ext/Encode/t | |
parent | 3be065a1e9733344e98c8647d9690fa7c678b5c5 (diff) | |
download | perl-071db25d4bd6237e4ead7e44b9c1420448a117ff.tar.gz |
Upgrade to Encode 0.97, from Dan Kogai.
p4raw-id: //depot/perl@15446
Diffstat (limited to 'ext/Encode/t')
-rw-r--r-- | ext/Encode/t/CN.t | 2 | ||||
-rw-r--r-- | ext/Encode/t/Encode.t | 2 | ||||
-rw-r--r-- | ext/Encode/t/JP.t | 1 | ||||
-rw-r--r-- | ext/Encode/t/TW.t | 2 | ||||
-rw-r--r-- | ext/Encode/t/Tcl.t | 2 |
5 files changed, 5 insertions, 4 deletions
diff --git a/ext/Encode/t/CN.t b/ext/Encode/t/CN.t index 671ee05dd0..e995391180 100644 --- a/ext/Encode/t/CN.t +++ b/ext/Encode/t/CN.t @@ -1,5 +1,5 @@ BEGIN { - chdir 't' if -d 't'; + if (! -d 'blib' and -d 't'){ chdir 't' }; unshift @INC, '../lib'; require Config; import Config; if ($Config{'extensions'} !~ /\bEncode\b/) { diff --git a/ext/Encode/t/Encode.t b/ext/Encode/t/Encode.t index 9c21578290..4e396e13e8 100644 --- a/ext/Encode/t/Encode.t +++ b/ext/Encode/t/Encode.t @@ -1,5 +1,5 @@ BEGIN { - chdir 't' if -d 't'; + if (! -d 'blib' and -d 't'){ chdir 't' }; unshift @INC, '../lib'; require Config; import Config; if ($Config{'extensions'} !~ /\bEncode\b/) { diff --git a/ext/Encode/t/JP.t b/ext/Encode/t/JP.t index 733aeb9a15..457f20400f 100644 --- a/ext/Encode/t/JP.t +++ b/ext/Encode/t/JP.t @@ -1,4 +1,5 @@ BEGIN { + if (! -d 'blib' and -d 't'){ chdir 't' }; chdir 't' if -d 't' and $ENV{PWD} !~ m,/Encode[^/]*$,o; unshift @INC, '../lib'; require Config; import Config; diff --git a/ext/Encode/t/TW.t b/ext/Encode/t/TW.t index a902d23ace..830eb8686a 100644 --- a/ext/Encode/t/TW.t +++ b/ext/Encode/t/TW.t @@ -1,5 +1,5 @@ BEGIN { - chdir 't' if -d 't'; + if (! -d 'blib' and -d 't'){ chdir 't' }; unshift @INC, '../lib'; require Config; import Config; if ($Config{'extensions'} !~ /\bEncode\b/) { diff --git a/ext/Encode/t/Tcl.t b/ext/Encode/t/Tcl.t index 96dc2141f4..5de9436b07 100644 --- a/ext/Encode/t/Tcl.t +++ b/ext/Encode/t/Tcl.t @@ -1,5 +1,5 @@ BEGIN { - chdir 't' if -d 't'; + if (! -d 'blib' and -d 't'){ chdir 't' }; unshift @INC, '../lib'; require Config; import Config; if ($Config{'extensions'} !~ /\bEncode\b/) { |