Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Data-MessagePack CPAN distribution.

Report information
The Basics
Id: 62076
Status: resolved
Priority: 0/
Queue: Data-MessagePack

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

Bug Information
Severity: Normal
Broken in: 0.31
Fixed in: 0.34



Subject: Fails test suite on windows
Test suite fails under Windows XP, running strawberry perl: Show quoted text
cpan> install Data::MessagePack
Running install for module 'Data::MessagePack' Running make for G/GF/GFUJI/Data-MessagePack-0.31.tar.gz Has already been unwrapped into directory C:\strawberry\cpan\build\Data-Messag ePack-0.31-OLIFsP Has already been made Running make test C:\strawberry\perl\bin\perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(0, 'inc', 'blib\lib', 'blib\arch')" t/*.t t/00_compile.t ......... # Testing Data::MessagePack/0.31 (XS) t/00_compile.t ......... ok t/01_pack.t ............ ok t/02_unpack.t .......... 1/34 # Failed test 'dump d3 00 00 00 00 80 00 00 01' # at t/02_unpack.t line 14. # got: '-2147483647' # expected: '2147483649' # -2147483647 # Failed test 'dump d3 ff 00 ff ff ff ff ff ff' # at t/02_unpack.t line 14. # got: '-1' # expected: '-71776119061217281' # -1 # Failed test 'dump cf ff 00 ff ff ff ff ff ff' # at t/02_unpack.t line 14. # got: '4294967295' # expected: '18374967954648334335' # 4294967295 # Failed test 'dump cf ff ff ff ff ff ff ff ff' # at t/02_unpack.t line 14. # got: '4294967295' # expected: '18446744073709551615' # 4294967295 # Failed test 'dump d3 00 00 00 10 00 00 00 00' # at t/02_unpack.t line 14. # got: '0' # expected: '68719476736' # 0 # Failed test 'dump d3 00 00 00 10 00 00 00 01' # at t/02_unpack.t line 14. # got: '1' # expected: '68719476737' # 1 # Failed test 'dump d3 00 00 10 00 00 00 00 00' # at t/02_unpack.t line 14. # got: '0' # expected: '17592186044416' # 0 # Failed test 'dump d3 00 10 00 00 00 00 00 00' # at t/02_unpack.t line 14. # got: '0' # expected: '4503599627370496' # 0 # Failed test 'dump d3 10 00 00 00 00 00 00 00' # at t/02_unpack.t line 14. # got: '0' # expected: '1152921504606846976' # 0 # Failed test 'dump d3 11 00 00 00 00 00 00 00' # at t/02_unpack.t line 14. # got: '0' # expected: '1224979098644774912' # 0 # Looks like you failed 10 tests of 34. t/02_unpack.t .......... Dubious, test returned 10 (wstat 2560, 0xa00) Failed 10/34 subtests t/03_stream_unpack.t ... 1/37 # Failed test 'dump d3 00 00 00 00 80 00 00 01' # at t/03_stream_unpack.t line 21. # got: '-2147483647' # expected: '2147483649' # Failed test 'dump d3 ff 00 ff ff ff ff ff ff' # at t/03_stream_unpack.t line 21. # got: '-1' # expected: '-71776119061217281' # Failed test 'dump cf ff 00 ff ff ff ff ff ff' # at t/03_stream_unpack.t line 21. # got: '4294967295' # expected: '18374967954648334335' # Failed test 'dump cf ff ff ff ff ff ff ff ff' # at t/03_stream_unpack.t line 21. # got: '4294967295' # expected: '18446744073709551615' # Failed test 'dump d3 00 00 00 10 00 00 00 00' # at t/03_stream_unpack.t line 21. # got: '0' # expected: '68719476736' # Failed test 'dump d3 00 00 00 10 00 00 00 01' # at t/03_stream_unpack.t line 21. # got: '1' # expected: '68719476737' # Failed test 'dump d3 00 00 10 00 00 00 00 00' # at t/03_stream_unpack.t line 21. # got: '0' # expected: '17592186044416' # Failed test 'dump d3 00 10 00 00 00 00 00 00' # at t/03_stream_unpack.t line 21. # got: '0' # expected: '4503599627370496' # Failed test 'dump d3 10 00 00 00 00 00 00 00' # at t/03_stream_unpack.t line 21. # got: '0' # expected: '1152921504606846976' # Failed test 'dump d3 11 00 00 00 00 00 00 00' # at t/03_stream_unpack.t line 21. # got: '0' # expected: '1224979098644774912' # Looks like you failed 10 tests of 37. t/03_stream_unpack.t ... Dubious, test returned 10 (wstat 2560, 0xa00) Failed 10/37 subtests t/04_invert.t .......... ok t/05_preferred_int.t ... ok t/06_stream_unpack2.t .. ok t/07_break.t ........... ok t/08_cycle.t ........... ok t/09_stddata.t ......... ok t/10_splitted_bytes.t .. ok t/11_stream_unpack3.t .. ok t/12_stream_unpack4.t .. ok t/13_booleans.t ........ ok t/14_invalid_data.t .... ok t/15_utf8.t ............ ok t/50_leaktrace.t ....... skipped: Test requires module 'Test::LeakTrace' but it' s not found Test Summary Report ------------------- t/02_unpack.t (Wstat: 2560 Tests: 34 Failed: 10) Failed tests: 23, 25-26, 28-34 Non-zero exit status: 10 t/03_stream_unpack.t (Wstat: 2560 Tests: 37 Failed: 10) Failed tests: 24, 26-27, 29-35 Non-zero exit status: 10 t/10_splitted_bytes.t (Wstat: 0 Tests: 48 Failed: 0) TODO passed: 26-27, 29, 32, 35, 38, 41 Files=17, Tests=501, 2 wallclock secs ( 0.19 usr + 0.06 sys = 0.25 CPU) Result: FAIL Failed 2/17 test programs. 20/501 subtests failed. dmake.EXE: Error code 255, while making 'test_dynamic' GFUJI/Data-MessagePack-0.31.tar.gz C:\strawberry\c\bin\dmake.EXE test -- NOT OK //hint// to see the cpan-testers results for installing this module, try: reports GFUJI/Data-MessagePack-0.31.tar.gz Running make install make test had returned bad status, won't install without force Failed during this command: GFUJI/Data-MessagePack-0.31.tar.gz : make_test NO
Hi, Thanks for the report, but I cannot reproduce this problem on my strawberry perl. Can you please paste the resultof ~perl -V~? -- Goro Fuji (gfx) GFUJI at CPAN.org
On Tue Oct 12 09:45:31 2010, GFUJI wrote: Show quoted text
> Hi, > > Thanks for the report, but I cannot reproduce this problem on my > strawberry perl. > Can you please paste the resultof ~perl -V~? >
Summary of my perl5 (revision 5 version 12 subversion 0) configuration: Platform: osname=MSWin32, osvers=5.1, archname=MSWin32-x86-multi-thread uname='Win32 strawberryperl 5.12.0.1 #1 Thu May 6 16:09:27 2010 i386' config_args='undef' hint=recommended, useposix=true, d_sigaction=undef useithreads=define, usemultiplicity=define useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef use64bitint=undef, use64bitall=undef, uselongdouble=undef usemymalloc=n, bincompat5005=undef Compiler: cc='gcc', ccflags =' -s -O2 -DWIN32 -DHAVE_DES_FCRYPT -DUSE_SITECUSTOMIZE - DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -fno-strict-aliasing -mms-bitfields - DPERL_MSVCRT_READFIX', optimize='-s -O2', cppflags='-DWIN32' ccversion='', gccversion='4.4.3', gccosandvers='' intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234 d_longlong=undef, longlongsize=8, d_longdbl=define, longdblsize=12 ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='long long', lseek size=8 alignbytes=8, prototype=define Linker and Libraries: ld='g++', ldflags ='-s -L"C:\strawberry\perl\lib\CORE" -L"C:\strawberry\c\li b"' libpth=C:\strawberry\c\lib C:\strawberry\c\i686-w64-mingw32\lib libs=-lmoldname -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32 -lshell32 -lole32 -loleaut32 -lnetapi32 -luuid -lws2_32 -lmpr -lwinmm -lversion -lodbc32 -lodbccp32 -lcomctl32 perllibs=-lmoldname -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladva pi32 -lshell32 -lole32 -loleaut32 -lnetapi32 -luuid -lws2_32 -lmpr -lwinmm -lver sion -lodbc32 -lodbccp32 -lcomctl32 libc=, so=dll, useshrplib=true, libperl=libperl512.a gnulibc_version='' Dynamic Linking: dlsrc=dl_win32.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' ' cccdlflags=' ', lddlflags='-mdll -s -L"C:\strawberry\perl\lib\CORE" -L"C:\st rawberry\c\lib"' Characteristics of this binary (from libperl): Compile-time options: MULTIPLICITY PERL_DONT_CREATE_GVSV PERL_IMPLICIT_CONTEXT PERL_IMPLICIT_SYS PERL_MALLOC_WRAP PL_OP_SLAB_ALLOC USE_ITHREADS USE_LARGE_FILES USE_PERLIO USE_PERL_ATOF USE_SITECUSTOMIZE Built under MSWin32 Compiled at May 6 2010 16:31:59 @INC: C:/strawberry/perl/site/lib C:/strawberry/perl/vendor/lib C:/strawberry/perl/lib .
Appears fixed by the changes in 0.34.