develooper Front page | perl.perl5.porters | Postings from February 2020

Re: HP-UX

Thread Previous | Thread Next
From:
Karl Williamson
Date:
February 24, 2020 04:46
Subject:
Re: HP-UX
Message ID:
f461df8b-ef0d-f0b5-73be-ed4554c533c6@khwilliamson.com
On 2/22/20 7:26 AM, H.Merijn Brand wrote:
> On Sat, 22 Feb 2020 12:08:38 +0100, "H.Merijn Brand"
> <h.m.brand@xs4all.nl> wrote:
> 
>> 1. I revived compiling on HP-UX 11.11 with HP C-ANSI-C by making
>>     wcrtomb undefined on 11.11 and below, which is in line with
>>     mbrlen and mbrtowc also being undefined in the hints
> 
>  From not building at all to this:
> 
> Test Summary Report
> -------------------
> re/reg_mesg.t                                                    (Wstat: 138 Tests: 450 Failed: 0)
>    Non-zero wait status: 138
>    Parse errors: No plan found in TAP output
> re/regex_sets.t                                                  (Wstat: 138 Tests: 27 Failed: 0)
>    Non-zero wait status: 138
>    Parse errors: No plan found in TAP output
> ../dist/IO/t/cachepropagate-unix.t                               (Wstat: 512 Tests: 15 Failed: 2)
>    Failed tests:  2, 10
>    Non-zero exit status: 2
> ../dist/Net-Ping/t/450_service.t                                 (Wstat: 0 Tests: 26 Failed: 0)
>    TODO passed:   9, 18
> ../ext/XS-APItest/t/hv_macro.t                                   (Wstat: 13312 Tests: 61 Failed: 50)
>    Failed tests:  2-49, 60-61
>    Non-zero exit status: 52
>    Parse errors: Bad plan.  You planned 63 tests but ran 61.
> ../lib/locale.t                                                  (Wstat: 0 Tests: 732 Failed: 3)
>    Failed tests:  431-432, 498
> ../lib/warnings.t                                                (Wstat: 0 Tests: 917 Failed: 3)
>    Failed tests:  366, 779-780
> Files=2666, Tests=1172026, 5931 wallclock secs (499.30 usr 21.38 sys + 4590.49 cusr 217.92 csys = 5329.09 CPU)
> Result: FAIL
> 
> 
> FWIW all these HP-UX boxes are available for the specialists to test on
> 


hv_macro is failing because of a mismatch between real and expected 
endianness, it looks like:

e.g.,

#   Failed test 'U8TO16_LE works as expected (hex bytes:12 34)'
#   at t/hv_macro.t line 65.#   Failed test 'U8TO16_LE works as expected 
(hex bytes:12 34)'
#   at t/hv_macro.t line 65.
#          got: '0x1234'
#     expected: '0x3412'

The reg failures are segfaults; I'm hoping they are a result of this 
endianness bug.  So I'll defer looking at them until that is fixed.
#          got: '0x1234'
#     expected: '0x3412'

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