Test failure on Win32 while installing

33 views
Skip to first unread message

Péter Juhász

unread,
Feb 20, 2012, 4:37:44 AM2/20/12
to Spreadsheet::ParseExcel
I get the following error message while installing the module from
CPAN on Windows:

t/20_number_format_default.....NOK 45/47
# Failed test ' Format = 0.00E+00'
# at t/20_number_format_default.t line 87.
# got: '1.23E+ 3'
# expected: '1.23E+03'
# Looks like you failed 1 test of 47.
t/20_number_format_default.....dubious
Test returned status 1 (wstat 256, 0x100)
DIED. FAILED test 45
Failed 1/47 tests, 97.87% okay

This means that the module can't be installed normally , only with
"force install".

Perl version was 5.10.0 (Camelbox distribution). I've tried to install
the module on several machines, with various versions of Windows (XP,
Vista, 7), with the same result (test failure described above).

Once installed, the module works correctly.

I believe this is a result of the underlying C library handling
formats differently on Windows and *nix. However, as this doesn't
cause any harm, I suggest that the test be revised to remove this
error message.

Péter Juhász

jmcnamara

unread,
Feb 23, 2012, 6:02:44 AM2/23/12
to Spreadsheet::ParseExcel


On Feb 20, 9:37 am, Péter Juhász <peter.juhas...@gmail.com> wrote:
> This means that the module can't be installed normally , only with
> "force install".
>
> Perl version was 5.10.0 (Camelbox distribution). I've tried to install
> the module on several machines, with various versions of Windows (XP,
> Vista, 7), with the same result (test failure described above).


Hi Peter,

That is a little odd. I don't see failure for other perls on Windows:

http://www.cpantesters.org/distro/S/Spreadsheet-ParseExcel.html#Spreadsheet-ParseExcel-0.59

It looks like it might be specific to Camelbox perl. Perhaps you could
try Strawberry Perl instead:

http://strawberryperl.com/

Regards,

John.
--


Reply all
Reply to author
Forward
0 new messages