Skip Menu |

This queue is for tickets about the Date CPAN distribution.

Report information
The Basics
Id: 130323
Status: resolved
Priority: 0/
Queue: Date

People
Owner: Nobody in particular
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 4.0.0
Fixed in: (no value)



Subject: t/date-hires.t fails (with -Duselongdouble?)
The test suite fails on one of my smokers --- this one has perl compiled with -Duselongdouble: ... # Failed test at t/date-hires.t line 23. # got: '1000000000.00000095' # expected: '1000000000.000001' # Failed test at t/date-hires.t line 33. # got: '1000000000.00000095' # expected: '1000000000.000001' # Looks like you failed 2 tests of 10. # Failed test 'double & string ctors' # at t/date-hires.t line 34. # Failed test at t/date-hires.t line 38. # got: '1530126740.34022999' # expected: '1530126740.34023' # Looks like you failed 1 test of 2. # Failed test 'hash ctor' # at t/date-hires.t line 40. # Failed test at t/date-hires.t line 44. # got: '1530126740.34022999' # expected: '1530126740.34023' # Looks like you failed 1 test of 2. # Failed test 'array ctor' # at t/date-hires.t line 46. # Failed test at t/date-hires.t line 60. # got: '1000000000.00000095' # expected: '1000000000.000001' # Failed test at t/date-hires.t line 62. # got: '1000000000.00000203' # expected: '1000000000.000002' # Looks like you failed 2 tests of 5. # Failed test 'assignment' # at t/date-hires.t line 71. # Looks like you failed 4 tests of 8. t/date-hires.t ............ Dubious, test returned 4 (wstat 1024, 0x400) Failed 4/8 subtests ...
Subject: Re: [rt.cpan.org #130323] t/date-hires.t fails (with -Duselongdouble?)
Date: Sat, 17 Aug 2019 17:09:45 +0300
To: bug-Date [...] rt.cpan.org
From: Олег Пронин <syber.rus [...] gmail.com>
Oh, thank you!) By the way, i faced some troubles while testing cpan modules with reporter-smoker. One author emailed me about his module that failed testing on my smoker. The module was FFI::Platypus and i tested it by hand with cpanm —look ... and saw the same fail somewhere in forks.pm. The smoker was setup to install all modules it has tested to speedup the process (and every perlbrew instance grew up to 10Gb in two weeks) I made a pure install of the same perl on the same server and the module passed all the tests. Is there a bug in CPAN::Reporter::Smoker? сб, 17 авг. 2019 г. в 9:50, Slaven_Rezic via RT <bug-Date@rt.cpan.org>: Show quoted text
> Sat Aug 17 02:50:09 2019: Request 130323 was acted upon. > Transaction: Ticket created by SREZIC > Queue: Date > Subject: t/date-hires.t fails (with -Duselongdouble?) > Broken in: 4.0.0 > Severity: (no value) > Owner: Nobody > Requestors: SREZIC@cpan.org > Status: new > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=130323 > > > > The test suite fails on one of my smokers --- this one has perl compiled > with -Duselongdouble: > > ... > # Failed test at t/date-hires.t line 23. > # got: '1000000000.00000095' > # expected: '1000000000.000001' > > # Failed test at t/date-hires.t line 33. > # got: '1000000000.00000095' > # expected: '1000000000.000001' > # Looks like you failed 2 tests of 10. > > # Failed test 'double & string ctors' > # at t/date-hires.t line 34. > > # Failed test at t/date-hires.t line 38. > # got: '1530126740.34022999' > # expected: '1530126740.34023' > # Looks like you failed 1 test of 2. > > # Failed test 'hash ctor' > # at t/date-hires.t line 40. > > # Failed test at t/date-hires.t line 44. > # got: '1530126740.34022999' > # expected: '1530126740.34023' > # Looks like you failed 1 test of 2. > > # Failed test 'array ctor' > # at t/date-hires.t line 46. > > # Failed test at t/date-hires.t line 60. > # got: '1000000000.00000095' > # expected: '1000000000.000001' > > # Failed test at t/date-hires.t line 62. > # got: '1000000000.00000203' > # expected: '1000000000.000002' > # Looks like you failed 2 tests of 5. > > # Failed test 'assignment' > # at t/date-hires.t line 71. > # Looks like you failed 4 tests of 8. > t/date-hires.t ............ > Dubious, test returned 4 (wstat 1024, 0x400) > Failed 4/8 subtests > ... > >
fixed in new version (4.0.1)