Subject: | t/58object.t fails 27, 31, 33-34 |
Some tests fail using perl 5.10.0 and Oracle 10.0.2 on linux (RHEL 5).
not ok 27 - new: Row 1 column 2 object attributes
# Failed test 'new: Row 1 column 2 object attributes'
# at t/58object.t line 160.
# Structures begin differing at:
# $got->[7] = '12345.678899999999'
# $expected->[7] = '12345.6789'
not ok 31 - new: Row 1 column 2 object attributes
# Failed test 'new: Row 1 column 2 object attributes'
# at t/58object.t line 167.
# Structures begin differing at:
# $got->[7] = '777.666000000000054'
# $expected->[7] = '777.666'
not ok 33 - DBD::Oracle::Object->attr_hash
# Failed test 'DBD::Oracle::Object->attr_hash'
# at t/58object.t line 182.
# Structures begin differing at:
# $got->{AMOUNT} = '777.666000000000054'
# $expected->{AMOUNT} = '777.666'
not ok 34 - DBD::Oracle::Object->attr
# Failed test 'DBD::Oracle::Object->attr'
# at t/58object.t line 183.
# Structures begin differing at:
# $got->{AMOUNT} = '777.666000000000054'
# $expected->{AMOUNT} = '777.666'
Summary of my perl5 (revision 5 version 10 subversion 0) configuration:
Platform:
osname=linux, osvers=2.6.18-92.1.18.el5,
archname=x86_64-linux-thread-multi-ld
uname='linux ccdvli02 2.6.18-92.1.18.el5 #1 smp wed nov 12 06:45:11
est 2008 x86_64 x86_64 x86_64 gnulinux '
config_args='-DPERL_MALLOC_WRAP -DUSE_64_BIT_ALL -DUSE_64_BIT_INT
-DUSE_PERLIO -DUSE_LARGE_FILES -DUSE_ITHREADS -Dusethreads'
hint=recommended, useposix=true, d_sigaction=define
useithreads=define, usemultiplicity=define
useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
use64bitint=define, use64bitall=define, uselongdouble=define
usemymalloc=n, bincompat5005=undef
Compiler:
cc='cc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing
-pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-I/usr/include/gdbm',
optimize='-O2',
cppflags='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe
-I/usr/local/include -I/usr/include/gdbm'
ccversion='', gccversion='4.1.2 20071124 (Red Hat 4.1.2-42)',
gccosandvers=''
intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
ivtype='long', ivsize=8, nvtype='long double', nvsize=16,
Off_t='off_t', lseeksize=8
alignbytes=16, prototype=define
Linker and Libraries:
ld='cc', ldflags =' -L/usr/local/lib'
libpth=/usr/local/lib /lib /usr/lib /lib64 /usr/lib64
libs=-lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lpthread -lc
perllibs=-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc
libc=/lib/libc-2.5.so, so=so, useshrplib=false, libperl=libperl.a
gnulibc_version='2.5'
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E'
cccdlflags='-fPIC', lddlflags='-shared -O2 -L/usr/local/lib'