develooper Front page | perl.perl5.porters | Postings from September 2014

=?utf-8?B?0J3QkDogQnVnIFJlcG9ydCB6L09T?=

Thread Previous | Thread Next
From:
Yaroslav Kuzmin
Date:
September 26, 2014 10:33
Subject:
=?utf-8?B?0J3QkDogQnVnIFJlcG9ydCB6L09T?=
Message ID:
d4432436b9574f7bb4d443bdb34f93a6@wal-s-mbx2.rocketsoftware.com
I did check .

 git commit 2877e8d2

 ./perl -v

This is perl 5, version 21, subversion 2 (v5.21.2) built for os390



1) (16:19) mss-d-006 : yaroslav | ~/work/ussport/perl/perl-git :> git log t/lib/charnames/alias

commit 6e3367cd372fe28f4aaa08b007018d85ee94ea3b
Merge: 43fa9d5 09861a1
Author: Yaroslav Kuzmin <ykuzmin@rocketsoftware.com>
Date:   Thu Aug 14 15:48:24 2014 +0600

    Merge branch 'khw/ebcdic' of git://perl5.git.perl.org/perl into ebcdic

    Conflicts:
        t/lib/charnames/alias
        t/re/pat_advanced.t

commit 09861a101b2aabfee2ad22840d97fd16e04c03f0
Author: Karl Williamson <khw@cpan.org>
Date:   Tue Jul 29 20:47:15 2014 -0600

    XXX Split into separate commits, rebasing

commit 02dd5b3165121a551cd3f8be56856f30e4b52dbf
Author: Karl Williamson <public@khwilliamson.com>
Date:   Wed Mar 13 16:07:52 2013 -0600

    charnames.t: Generalize for non-ASCII platforms

2) In version 5.16.2 , I had several functions from the file ext/mro/mro.xs in mro.c

3) When I add options  -DDEBUGGING to Configure, log 'make test' is increased to 1G .
  But I'll try to do.


P.S. Sory, Now I did not see this mail.

------------------------------------------------------------------------
 Yaroslav Kuzmin
Developer C/C++ ,z/OS , Linux
3 Zhukovskiy Street · Miass, Chelyabinsk region 456318 · Russia
Tel:  +7.922.2.38.33.38
Email: YKuzmin@rocketsoftware.com
Web: www.rocketsoftware.com

________________________________________
От: Karl Williamson <public@khwilliamson.com>
Отправлено: 19 августа 2014 г. 1:24
Кому: Yaroslav Kuzmin; Perl5 Porters; perl-mvs
Тема: Re: Bug Report z/OS

On 08/15/2014 03:09 AM, Yaroslav Kuzmin wrote:
>
> git commit 09861a101b2aabfee2ad22840d97fd16e04c03f0
>       Author: Karl Williamson <khw@cpan.org>
>       Date:   Tue Jul 29 20:47:15 2014 -0600
>
> Make test
>
> ------------------------------------------------------------------------
>   Yaroslav Kuzmin

Note that this report has 8000 fewer error lines than the previous one.
  I consider that good progress. And for the first time ever, /i regex
matching works on EBCDIC.

To continue progressing:

1) There is still a problem with you somehow getting old stuff.  The
make output you attached includes these lines:
t/lib/charnames/alias .................................................
PROG:
# Below, one of the EXPECT regexes matches both the UTF-8 and non-UTF-8
form.
# This is because under some circumstances the message gets output as UTF-8.
# We use \xab, as that is invalid in both ASCII and EBCDIC platforms, and we
# accept both UTF-8 and 1047 UTF-EBCDIC
use charnames ":full", ":alias" => {
                             "4e_ACUTE" => "LATIN SMALL LETTER E WITH
ACUTE",
                             "e_A,CUTE" => "LATIN SMALL LETTER E WITH
ACUTE",
                             "e_ACUT\x{ab}E" => "LATIN SMALL LETTER E
WITH ACUTE",
                     };

But the commit you said you tested above
09861a101b2aabfee2ad22840d97fd16e04c03f0 changes those lines, thusly:
-# NAME various wrong characters in :alias are errors
-# Below, one of the EXPECT regexes matches both the UTF-8 and non-UTF-8
form.
-# This is because under some circumstances the message gets output as
UTF-8.
-# We use \xab, as that is invalid in both ASCII and EBCDIC platforms,
and we
-# accept both UTF-8 and 1047 UTF-EBCDIC
+# NAME A wrong character in :alias is an error
+# These next tests could be combined, but the messages can come out in
+# different orders on EBCDIC vs ASCII, and can't have both 'random' and
'regex'
+# options, and need 'regex' to avoid 'at line X' getting in the way.
  use charnames ":full", ":alias" => {
                              "4e_ACUTE" => "LATIN SMALL LETTER E WITH
ACUTE",
-                            "e_A,CUTE" => "LATIN SMALL LETTER E WITH
ACUTE",
-                            "e_ACUT\x{ab}E" => "LATIN SMALL LETTER E
WITH ACUTE",
                      };

Thus you were somehow using an old version of t/lib/charnames/alias.  I
can't figure out how that could happen.  Other things in the output
indicate you were testing things that were included in this single commit.

2) I think we would be well above the 90% pass rate if the mro stuff
would work. Nicholas wrote some suggestions about how to get it to, in
<20140610174416.GT1984@plum.flirble.org>
Did you try this?

2) I know that there are bugs in pack/unpack, which I have deferred
fixing until other things settle down.  I think we are almost there!
Various remaining test failures should go away when that gets fixed.  As
a start to looking at this, I need the current contents of your
directory lib/unicore.  Just email it in a convenient format for you to
generate.

3) It would be helpful to have you using a DEBUGGING build.  Add
-DDEBUGGING to Configure

4) I have made a number of fixes to this branch, and pushed a new one to
the same place
http://perl5.git.perl.org/perl.git/shortlog/refs/heads/khw/ebcdic
with the topmost commit being
http://perl5.git.perl.org/perl.git/commit/2877e8d28f6866ecd9c385e7205327bb55420a48

Some of these fixes fix tests, and some fix code bugs that should cause
tests to now pass that previously didn't.  Some add extra tests to help
me figure out what's going wrong.




================================
Rocket Software, Inc. and subsidiaries ■ 77 Fourth Avenue, Waltham MA 02451 ■ +1 800.966.3270 ■ +1 781.577.4321
Unsubscribe From Commercial Email – unsubscribe@rocketsoftware.com
Manage Your Subscription Preferences - http://info.rocketsoftware.com/GlobalSubscriptionManagementEmailFooter_SubscriptionCenter.html
Privacy Policy - http://www.rocketsoftware.com/company/legal/privacy-policy
================================

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About