perl-unicode

Re: [Encode] 1.80 released

2002-10-24 18:30:06
Dan Kogai <dankogai(_at_)dan(_dot_)co(_dot_)jp> wrote:
:   I have released Encode 1.80 despite the fact I just released 1.79 
:less than 24 hours ago.

Thanks, integrated as change #18057.

I'd recommend the small patch below, which will make it possible to
run the new rt.pl in any of the standard manners under the core:
  ( cd t ; ./perl TEST ../ext/Encode/t/rt.pl )
  ( cd t ; ./perl harness ../ext/Encode/t/rt.pl )
  PERL_CORE=1 ./perl -Ilib ext/Encode/t/rt.pl

With this patch, those tests also pass (eventually :).

Hugo
--- Encode-1.80/t/rt.pl.old     Fri Oct 25 00:14:20 2002
+++ Encode-1.80/t/rt.pl Fri Oct 25 00:14:55 2002
@@ -4,9 +4,11 @@
 #
 
 BEGIN {
+    my $ucmdir  = "ucm";
     if ($ENV{'PERL_CORE'}){
         chdir 't';
         unshift @INC, '../lib';
+        $ucmdir = "../ext/Encode/ucm";
     }
     require Config; import Config;
     if ($Config{'extensions'} !~ /\bEncode\b/) {
@@ -19,7 +21,6 @@
     }
     use strict;
     require Test::More;
-    my $ucmdir  = "ucm";
     our $DEBUG;
     our @ucm;
     unless(@ARGV){

<Prev in Thread] Current Thread [Next in Thread>