Front page | perl.perl5.porters |
Postings from May 2015
Re: Smoke [blead] v5.21.11-24-g122af31 FAIL(F) HP-UX B.11.23/64(ia64/2 cpu)
Thread Previous
|
Thread Next
From:
H.Merijn Brand
Date:
May 5, 2015 07:32
Subject:
Re: Smoke [blead] v5.21.11-24-g122af31 FAIL(F) HP-UX B.11.23/64(ia64/2 cpu)
Message ID:
20150505093208.47cbc01f@pc09.procura.nl
On Thu, 30 Apr 2015 16:14:42 +0200, "H.Merijn Brand"
<h.m.brand@xs4all.nl> wrote:
> ./perl -I../lib harness -v io/layers.t
> io/layers.t .. Assertion failed: SvLEN(iv) == 0, file Encode.xs, line 55
> No subtests run
>
> Test Summary Report
> -------------------
> io/layers.t (Wstat: 134 Tests: 0 Failed: 0)
> Non-zero wait status: 134
> Parse errors: No plan found in TAP output
> Files=1, Tests=0, 0 wallclock secs ( 0.03 usr 0.01 sys + 0.07 cusr 0.02 csys = 0.13 CPU)
when adding an sv_dump
void
Encode_XSEncoding(pTHX_ encode_t * enc)
{
dSP;
HV *stash = gv_stashpv("Encode::XS", TRUE);
SV *iv = newSViv(PTR2IV(enc));
SV *sv = sv_bless(newRV_noinc(iv),stash);
int i = 0;
/* with the SvLEN() == 0 hack, PVX won't be freed. We cast away name's
constness, in the hope that perl won't mess with it. */
sv_dump(iv); /* #################################### <= there */
assert(SvTYPE(iv) >= SVt_PV); assert(SvLEN(iv) == 0);
perl-current/t 517 > ./perl -I../lib harness -v ../cpan/Encode/
t/Encode.t
../cpan/Encode/t/Encode.t .. SV = PVMG(0x60000000003691a0) at 0x600000000032e358
REFCNT = 1
FLAGS = (OBJECT,IOK,pIOK)
IV = -6917529028723453456
NV = 0
PV = 0
STASH = 0x60000000003881e0 "Encode::XS"
SV = PVMG(0x60000000003691d0) at 0x600000000032e370
REFCNT = 1
FLAGS = (OBJECT,IOK,pIOK)
IV = -6917529028723453408
NV = 0
PV = 0
STASH = 0x60000000003881e0 "Encode::XS"
SV = PVMG(0x6000000000369200) at 0x600000000032e3d0
REFCNT = 1
FLAGS = (OBJECT,IOK,pIOK)
IV = -6917529028723453360
NV = 0
PV = 0
STASH = 0x60000000003881e0 "Encode::XS"
SV = PVMG(0x6000000000369230) at 0x600000000032e430
REFCNT = 1
FLAGS = (OBJECT,IOK,pIOK)
IV = -6917529028723453312
NV = 0
PV = 0
STASH = 0x60000000003881e0 "Encode::XS"
1..2703
# Running under perl version 5.021012 for hpux
# Current time local: Tue May 5 09:27:22 2015
# Current time GMT: Tue May 5 07:27:22 2015
# Using Test.pm version 1.26
ok 1
ok 2
ok 3
ok 4
ok 5
Assertion failed: SvLEN(iv) == 0, file Symbol.c, line 26
Failed 2698/2703 subtests
Test Summary Report
-------------------
../cpan/Encode/t/Encode.t (Wstat: 134 Tests: 5 Failed: 0)
Non-zero wait status: 134
Parse errors: Bad plan. You planned 2703 tests but ran 5.
Files=1, Tests=5, 0 wallclock secs ( 0.01 usr 0.00 sys + 0.16 cusr 0.03 csys = 0.20 CPU)
Result: FAIL
perl-current/t 520 > ./perl -I../lib harness -v ../cpan/Encode/
t/Encode.t |& perl -ne's/IV = (-\d+)\K/sprintf" 0x%x",$1/e and print'
IV = -6917529028723453456 0x9fffffffbf7c51f0
IV = -6917529028723453408 0x9fffffffbf7c5220
IV = -6917529028723453360 0x9fffffffbf7c5250
IV = -6917529028723453312 0x9fffffffbf7c5280
--
H.Merijn Brand http://tux.nl Perl Monger http://amsterdam.pm.org/
using perl5.00307 .. 5.21 porting perl5 on HP-UX, AIX, and openSUSE
http://mirrors.develooper.com/hpux/ http://www.test-smoke.org/
http://qa.perl.org http://www.goldmark.org/jeff/stupid-disclaimers/
Thread Previous
|
Thread Next