Skip Menu |
 

This queue is for tickets about the Encode-Base58-GMP CPAN distribution.

Report information
The Basics
Id: 72797
Status: resolved
Priority: 0/
Queue: Encode-Base58-GMP

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

Bug Information
Severity: Normal
Broken in: 0.07
Fixed in: 0.08



Download (untitled) / with headers
text/plain 1.3k
Thanks for the ticket Andreas. I've been following CPAN Testers and have been looking into the issue. So far this is my assessment: (1) Description Bigint tests fail on 32-bit OS. The tests correctly fail since the numbers are truncated, but it might be nice to skip the tests on 32-bit systems so they are passed over instead of failing. (2) Proposed Solution From my initial look, I think what should be done is to only run the bigint tests if 64-bit numbers are supported. This could be done using the Config module and Test::More's SKIP block. The Config check might be: unless $Config{use64bitint} eq 'define' || $Config{longsize} >= 8 Some of the tests currently use Test::Base and would need to be converted to Test::More as it appears Test::Base does not support conditionally skipping tests. (3) Timing Issues I've started to look into this; however, I'm not sure when I'll be able to push this through. One of the issues is that I don't really use 32-bit Perl at all. I've started to look into setting up a 32-bit Perl but don't have a working version yet. If you've got a few spare moments and can look into this, any help would be greatly appreciated. And frankly, if you can manage to make it work I've got no problem with handing out commit and/or PAUSE perms if this is causing you a problem right now. Let me know what you think of the proposed solution. Cheers, John
Download (untitled) / with headers
text/plain 108b
I found a 32-bit Perl to test against and was able to push an update, 0.08, which should resolve this issue.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.