Skip Menu |

This queue is for tickets about the Digest-CRC CPAN distribution.

Report information
The Basics
Id: 120289
Status: resolved
Priority: 0/
Queue: Digest-CRC

People
Owner: OLIMAUL [...] cpan.org
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.22.1
Fixed in: 0.22.2



Subject: t/crc.t fails (0.22.1)
I see the following failure on my smokers: # Failed test 'OO crc32 with addfile 4009136024' # at t/crc.t line 61. # Looks like you failed 1 test of 31. t/crc.t .. Dubious, test returned 1 (wstat 256, 0x100) Failed 1/31 subtests Also, it might be that using a two-dot version is not a good idea if you previously used one-dot versions. I think the new distribution won't be indexed by PAUSE/CPAN.
From: paul [...] city-fan.org
On Sat Feb 18 12:59:56 2017, SREZIC wrote: Show quoted text
> I see the following failure on my smokers: > > # Failed test 'OO crc32 with addfile 4009136024' > # at t/crc.t line 61. > # Looks like you failed 1 test of 31. > t/crc.t .. > Dubious, test returned 1 (wstat 256, 0x100) > Failed 1/31 subtests
This is because the "OO crc32 with addfile" test computes the CRC of the README file, and the test wasn't updated after the "version 0.21" to "version 0.22" change at the top of the file.
Am So 19. Feb 2017, 05:19:10, paul@city-fan.org schrieb: Show quoted text
> On Sat Feb 18 12:59:56 2017, SREZIC wrote:
> > I see the following failure on my smokers: > > > > # Failed test 'OO crc32 with addfile 4009136024' > > # at t/crc.t line 61. > > # Looks like you failed 1 test of 31. > > t/crc.t .. > > Dubious, test returned 1 (wstat 256, 0x100) > > Failed 1/31 subtests
> > This is because the "OO crc32 with addfile" test computes the CRC of > the README file, and the test wasn't updated after the "version 0.21" > to "version 0.22" change at the top of the file.
Thanks. This has been fixed today. Oliver
From: paul [...] city-fan.org
On Sun Feb 19 12:27:09 2017, OLIMAUL wrote: Show quoted text
> Am So 19. Feb 2017, 05:19:10, paul@city-fan.org schrieb:
> > On Sat Feb 18 12:59:56 2017, SREZIC wrote:
> > > I see the following failure on my smokers: > > > > > > # Failed test 'OO crc32 with addfile 4009136024' > > > # at t/crc.t line 61. > > > # Looks like you failed 1 test of 31. > > > t/crc.t .. > > > Dubious, test returned 1 (wstat 256, 0x100) > > > Failed 1/31 subtests
> > > > This is because the "OO crc32 with addfile" test computes the CRC of > > the README file, and the test wasn't updated after the "version 0.21" > > to "version 0.22" change at the top of the file.
> > > Thanks. This has been fixed today.
I noticed that the crc64 tests failed on some architectures, with an all-zero CRC value: $ make test TEST_VERBOSE=1 WITH_CRC64=1 "/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- CRC.bs blib/arch/auto/Digest/CRC/CRC.bs 644 PERL_DL_NONLAZY=1 "/usr/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(1, 'blib/lib', 'blib/arch')" t/*.t t/crc.t .. 1..33 # use ok 1 # crc64 0 not ok 2 # OO crc64 0 not ok 3 # crc32 ok 4 ... I've seen this with i686 and armv7hl, but the correct values were generated for builds on x86_64, ppc64le, aarch64 and ppc64. Is that expected (and why the CRC64 tests are not run by default)?