diff options
author | Nicholas Clark <nick@ccl4.org> | 2004-03-02 22:22:49 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2004-03-02 22:22:49 +0000 |
commit | be8eafc621983b6ee7e7c101db81d4ed251c49c9 (patch) | |
tree | 7edc7fecaa7001cfe88fa04ab8e413da5f381b8a /t/uni/tr_sjis.t | |
parent | 43651d81392f71a2868d35b75782d354b0139c90 (diff) | |
download | perl-be8eafc621983b6ee7e7c101db81d4ed251c49c9.tar.gz |
Change the skip logic on the unicode tests so that they don't rely on
miniperl's "dynamic loading unavailable" message
p4raw-id: //depot/perl@22424
Diffstat (limited to 't/uni/tr_sjis.t')
-rw-r--r-- | t/uni/tr_sjis.t | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/t/uni/tr_sjis.t b/t/uni/tr_sjis.t index 732eb1ab0b..6fda9f2807 100644 --- a/t/uni/tr_sjis.t +++ b/t/uni/tr_sjis.t @@ -22,9 +22,8 @@ BEGIN { print "1..0 # Skip: PerlIO required\n"; exit 0; } - eval 'use Encode'; - if ($@ =~ /dynamic loading not available/) { - print "1..0 # Skip: no dynamic loading, no Encode\n"; + if ($ENV{PERL_CORE_MINITEST}) { + print "1..0 # Skip: no dynamic loading on miniperl, no Encode\n"; exit 0; } $| = 1; |