Subject: | FAIL Math-Currency-0.2 i386-linux 2.4.8-11mdkenterprise |
To: | cpan-testers [...] perl.org |
Cc: | bug-Math-Currency [...] rt.cpan.org |
Date: | Wed, 30 Jan 2002 13:57:13 +0100 (CET) |
From: | arnaud [...] romeconcept.com (ASSAD Arnaud) |
This distribution has been tested as part of the cpan-testers
effort to test as many new uploads to CPAN as possible. See
http://testers.cpan.org/
Please cc any replies to cpan-testers@perl.org to keep other
test volunteers informed and to prevent any duplicate effort.
--
PERL_DL_NONLAZY=1 /usr/bin/perl -Iblib/arch -Iblib/lib -I/usr/lib/perl5/5.6.1/i386-linux -I/usr/lib/perl5/5.6.1 test.pl
1..18
ok 1 - use Math::Currency;
ok 2 - class new
ok 3 - object new
ok 4 - new via exported Money()
not ok 5 - multiply
# Failed test (test.pl at line 25)
# got: '1 202 098,59¤'
# expected: '$1,202,098.59'
not ok 6 - divide
# Failed test (test.pl at line 26)
# got: '12 020,99¤'
# expected: '$12,020.99'
ok 7 - greater than (numeric)
ok 8 - less than (numeric)
ok 9 - equal to (numeric)
not ok 10 - equal to (string)
# Failed test (test.pl at line 31)
not ok 11 - display of negative currency
# Failed test (test.pl at line 34)
# got: '(42¤)'
# expected: '($42)'
ok 12 - multiply followed by auto-round
ok 13 - identity multiply
ok 14 - negative identity multiply
ok 15 - foreign currency
ok 16 - two object equality (numeric)
ok 17 - two object equality (string)
ok 18 - autoupgrade to object
# Formatting examples:
# In Pounds Sterling: 98,994.95£
# In negative Dollars: (20,01¤)
# In Deutchmarks: 23 459,950DM
# Looks like you failed 4 tests of 18.
make: *** [test_dynamic] Erreur 4
--
Summary of my perl5 (revision 5.0 version 6 subversion 1) configuration:
Platform:
osname=linux, osvers=2.4.8-11mdkenterprise, archname=i386-linux
uname='linux no.mandrakesoft.com 2.4.8-11mdkenterprise #1 smp wed aug 22 16:05:18 cest 2001 i686 unknown '
config_args='-des -Darchname=i386-linux -Dd_dosuid -Ud_csh -Duseshrplib -Doptimize=-O3 -fomit-frame-pointer -pipe -mcpu=pentiumpro -march=i586 -ffast-math -fno-strength-reduce -Dprefix=/usr -Di_ndbm -Di_gdbm -Di_shadow -Di_syslog -Uuselargefiles -Dman1dir=/usr/share/man/man1 -Dman3dir=/usr/lib/perl5/man/man3'
hint=recommended, useposix=true, d_sigaction=define
usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef
useperlio=undef d_sfio=undef uselargefiles=undef usesocks=undef
use64bitint=undef use64bitall=undef uselongdouble=undef
Compiler:
cc='cc', ccflags ='-fno-strict-aliasing',
optimize='-O3 -fomit-frame-pointer -pipe -mcpu=pentiumpro -march=i586 -ffast-math -fno-strength-reduce',
cppflags='-fno-strict-aliasing'
ccversion='', gccversion='2.96 20000731 (Mandrake Linux 8.1 2.96-0.62mdk)', gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=4
alignbytes=4, usemymalloc=n, prototype=define
Linker and Libraries:
ld='cc', ldflags =' -L/usr/local/lib'
libpth=/usr/local/lib /lib /usr/lib
libs=-lnsl -ldl -lm -lc -lcrypt -lutil
perllibs=-lnsl -ldl -lm -lc -lcrypt -lutil
libc=/lib/libc-2.2.4.so, so=so, useshrplib=true, libperl=libperl.so
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic -Wl,-rpath,/usr/lib/perl5/5.6.1/i386-linux/CORE'
cccdlflags='-fpic', lddlflags='-shared -L/usr/local/lib'