On 2016-03-06 12:21:22, SREZIC wrote:
Show quoted text> On 2016-03-06 11:52:14, KEICHNER wrote:
> > Le Dim 06 Mar 2016 06:06:34, SREZIC a écrit :
> > > Test output:
> > > # hi = <18446744073709551615>, lv = <18446744073709551615>
> > > # hd = <-2>, lv = <1.84467440737095516e+19>
> > >
> > > # Failed test 'hd() > 100'
> > > # at t/0010_test.t line 25.
> >
> > Thanks for your bug report.
> >
> > I suspect something funky is going on when representing large
> > integers
> > as strings.
> >
> > I've made changes in the new version 0.07, can you re-run the test ?
> > (which will still fail), the new version 0.07 will report additional
> > debug information (d1, d2, d3) to narrow down the problem.
>
> With 0.07:
>
> PERL_DL_NONLAZY=1 "/bbbike/perl-5.20.1D/bin/perl" "-
> MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef
> *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')"
> t/*.t
> # Config{'use64bitall'} = 'define'
> # Config{'use64bitint'} = 'define'
> # Config{'usecrosscompile'} = undef
> # Config{'uselongdouble'} = 'define'
> # Config{'usemorebits'} = undef
> # hi = <18446744073709551615>, lv = <18446744073709551615>, d1 =
> <1.84467440737095516e+19>, d2 = <1.84467440737095516e+19>, d3 =
> <18446744073709551615>
> # hd = <-2>, lv = <1.84467440737095516e+19>, d1 =
> <1.84467440737095516e+19>, d2 = <18446744073709551616>, d3 =
> <18446744073709551615>
>
> # Failed test 'hd() > 100'
> # at t/0010_test.t line 27.
> # Looks like you failed 1 test of 8.
> t/0010_test.t ..........
> Dubious, test returned 1 (wstat 256, 0x100)
> Failed 1/8 subtests
It also fails on 32bit systems. The output here:
PERL_DL_NONLAZY=1 /opt/perl-5.12.1/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
# Config{'use64bitall'} = undef
# Config{'use64bitint'} = undef
# Config{'usecrosscompile'} = undef
# Config{'uselongdouble'} = undef
# Config{'usemorebits'} = undef
# hi = <4294967295>, lv = <4294967295>, d1 = <4294967296>, d2 = <4294967296>, d3 = <4294967295>
# hd = <-2>, lv = <9.00719925474099e+15>, d1 = <9.00719925474099e+15>, d2 = <9007199254740992>, d3 = <9007199254740991>
# Failed test 'hd() > 100'
# at t/0010_test.t line 27.
# Looks like you failed 1 test of 8.
t/0010_test.t ..........
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/8 subtests