perl-unicode

Re: Encode failures when used as a static extension

2002-04-09 12:02:33
Andy,

On Wednesday, April 10, 2002, at 02:44 , Andy Dougherty wrote:
I occasionally use the following config.over file for testing:

        # config.over -- copy this to your perl source directory
        static_ext=$dynamic_ext
        dynamic_ext=''

With it, I get the following results from

        ./perl harness ../ext/Encode/t/Aliases.t

.../ext/Encode/t/Aliases....# Failed test (../ext/Encode/t/Aliases.t at line 118)
#          got: ''
#     expected: 'euc-jp'
alias was x-euc-jp at ../ext/Encode/t/Aliases.t line 118.
#     Failed test (../ext/Encode/t/Aliases.t at line 118)
#          got: ''
#     expected: 'iso-8859-4'
alias was ISO LATIN 4 at ../ext/Encode/t/Aliases.t line 118.

[ and 751 more similar ones ]

It seems NI-S patches that are already applied to perl-current has fixed this problem altogether (That includes fixes to Aliases.t and Encode::Alias). Encode now works with the exotic config of yours.

ext/B/t/showlex.....................ok
ext/B/t/stash.......................FAILED at test 1
ext/B/t/terse.......................ok
[snip]
ext/Encode/t/Aliases................ok
ext/Encode/t/CN.....................ok
ext/Encode/t/Encode.................ok
ext/Encode/t/Encoder................ok
ext/Encode/t/JP.....................ok
ext/Encode/t/KR.....................ok
ext/Encode/t/TW.....................ok
ext/Encode/t/Unicode................ok
ext/Encode/t/encoding...............ok
ext/Encode/t/grow...................ok

Okay, with this fixed, 1.32 realease will be real soon. Just add an API jhi suggested and add one more option to ignore fallback on ucmlint.

Dan the Encode Maintainer

<Prev in Thread] Current Thread [Next in Thread>
  • Re: Encode failures when used as a static extension, Dan Kogai <=