Subject: | test for calc_test_yaml_meta failing on 64 bit linux |
Hi, the tests for t/calc_test_yaml_meta.t seem to be failing due to an
assumption as to how distributed_by_debian will be on 64 bit AMD linux.
------------
$ prove -bvm t/calc_test_yaml_meta.t
t/calc_test_yaml_meta....
1..4
ok 1 - unpack ok
ok 2 - files
ok 3 - module
not ok 4 - metrics are as expected
# Failed test 'metrics are as expected'
# at t/calc_test_yaml_meta.t line 71.
# Structures begin differing at:
# $got->{distributed_by_debian} = '1'
# $expected->{distributed_by_debian} = '0'
# Looks like you failed 1 test of 4.
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/4 subtests
Test Summary Report
-------------------
t/calc_test_yaml_meta (Wstat: 256 Tests: 4 Failed: 1)
Failed test: 4
Non-zero exit status: 1
Files=1, Tests=4, 1 wallclock secs ( 0.02 usr 0.01 sys + 0.43 cusr
0.08 csys = 0.54 CPU)
Result: FAIL
------------
$ perl -V
Summary of my perl5 (revision 5 version 8 subversion 8) configuration:
Platform:
osname=linux, osvers=2.6.9-42.0.3.elsmp, archname=x86_64-linux-
thread-multi-ld
uname='linux cmtmcc-lmx7 2.6.9-42.0.3.elsmp #1 smp mon sep 25
17:24:31 edt 2006 x86_64 x86_64 x86_64 gnulinux '
config_args=''
hint=previous, useposix=true, d_sigaction=define
usethreads=define use5005threads=undef 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 -DTHREADS_HAVE_PIDS -
fno-strict-aliasing -pipe -Wdeclaration-after-statement -
I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
optimize='-O2',
cppflags='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -fno-
strict-aliasing -pipe -Wdeclaration-after-statement -
I/usr/local/include -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -fno-
strict-aliasing -pipe -Wdeclaration-after-statement -
I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64'
ccversion='', gccversion='3.4.6 20060404 (Red Hat 3.4.6-3)',
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='gcc', ldflags =' -L/usr/local/lib'
libpth=/usr/local/lib /lib /usr/lib
libs=-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc
perllibs=-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc
libc=/lib/libc-2.3.4.so, so=so, useshrplib=false, libperl=libperl.a
gnulibc_version='2.3.4'
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E'
cccdlflags='-fpic', lddlflags='-shared -L/usr/local/lib'
Characteristics of this binary (from libperl):
Compile-time options: MULTIPLICITY PERL_IMPLICIT_CONTEXT
PERL_MALLOC_WRAP THREADS_HAVE_PIDS
USE_64_BIT_ALL
USE_64_BIT_INT USE_ITHREADS USE_LARGE_FILES
USE_LONG_DOUBLE USE_PERLIO USE_REENTRANT_API
Built under linux
Compiled at Oct 18 2007 19:34:15
%ENV:
PERL5_CPANPLUS_IS_RUNNING="2262"
PERL5_CPAN_IS_RUNNING="2262"
@INC:
/opt/perl588/lib/5.8.8/x86_64-linux-thread-multi-ld
/opt/perl588/lib/5.8.8
/opt/perl588/site/lib/x86_64-linux-thread-multi-ld
/opt/perl588/site/lib
/opt/perl588/site/lib
.