Re: Please Test: AutoInactiveDestroy

Cosimo Streppone <[email protected]>
Newsgroups gmane.comp.lang.perl.modules.dbi.sybase.devel
Message-ID <op.vgiq06cms5ttvb@cn01>
In data 26 luglio 2010 alle ore 23:11:42, David E. Wheeler  
<[email protected]> ha scritto:

> [...] AutoInactiveDestroy.

> We need to make sure that it doesn't die an ugly death
> on systems without fork (and on Win32, where it's emulated).

It seems to die an ugly death for me.
I'm experiencing the same failures as Martin.

DBI SVN updated to r14289.

Test output
===========

(It segfaults at test 19)

d:\dev\src\dbi-svn>prove -vb t/zvp_16destroy.t
t/zvp_16destroy.t ..
1..20
ok 1 - use DBI;
ok 2 - ... check DBD::Test::dr::imp_data_size to avoid typo
ok 3 - ... check DBD::Test::db::imp_data_size to avoid typo
ok 4 - Install test driver
ok 5 - Connect to test driver
ok 6 - Should start active
ok 7 - Should be active in DESTROY
ok 8 - Create with ActiveDestroy
ok 9 - InactiveDestroy should be set
ok 10 - Should start active
ok 11 - Should not be active in DESTROY
ok 12 - Create with AutoInactiveDestroy
ok 13 - InactiveDestroy should be set
ok 14 - Should start active
ok 15 - Should be active in DESTROY
ok 16 - Create with AutoInactiveDestroy again
ok 17 - InactiveDestroy should be set
ok 18 - Should start active
Dubious, test returned 5 (wstat 1280, 0x500)
Failed 2/20 subtests

Test Summary Report
-------------------
t/zvp_16destroy.t (Wstat: 1280 Tests: 18 Failed: 0)
   Non-zero exit status: 5
   Parse errors: Bad plan.  You planned 20 tests but ran 18.
Files=1, Tests=18,  3 wallclock secs ( 0.08 usr +  0.05 sys =  0.12 CPU)
Result: FAIL


Perl binary (Windows Vista 32 bit)
==================================

This is perl, v5.10.0 built for MSWin32-x86-multi-thread.

Summary of my perl5 (revision 5 version 10 subversion 0) configuration:
   Platform:
     osname=MSWin32, osvers=4.0, archname=MSWin32-x86-multi-thread
     uname=''
     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='cl', ccflags ='-nologo -GF -W3 -MD -Zi -DNDEBUG -O1 -DWIN32  
-D_CONSOLE -DNO_STRICT -DHAVE_DES_FCRYPT -D_CRT_SECU
RE_NO_DEPRECATE -D_CRT_NONSTDC_NO_DEPRECATE  -DPERL_IMPLICIT_CONTEXT  
-DPERL_IMPLICIT_SYS -DUSE_PERLIO',
     optimize='-MD -Zi -DNDEBUG -O1',
     cppflags='-DWIN32'
     ccversion='15.00.21022.08', gccversion='', gccosandvers=''
     intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
     d_longlong=undef, longlongsize=8, d_longdbl=define, longdblsize=10
     ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='__int64',  
lseeksize=8
     alignbytes=8, prototype=define
   Linker and Libraries:
     ld='link', ldflags ='-nologo -nodefaultlib -debug -opt:ref,icf   
-libpath:"c:\dev\perl510\lib\CORE"  -machine:x86'
     libpth=c:\dev\msvc9\vc\lib
     libs=  oldnames.lib kernel32.lib user32.lib gdi32.lib winspool.lib   
comdlg32.lib advapi32.lib shell32.lib ole32.lib
oleaut32.lib  netapi32.lib uuid.lib ws2_32.lib mpr.lib winmm.lib   
version.lib odbc32.lib odbccp32.lib msvcrt.lib
     perllibs=  oldnames.lib kernel32.lib user32.lib gdi32.lib  
winspool.lib  comdlg32.lib advapi32.lib shell32.lib ole32.
lib oleaut32.lib  netapi32.lib uuid.lib ws2_32.lib mpr.lib winmm.lib   
version.lib odbc32.lib odbccp32.lib msvcrt.lib
     libc=msvcrt.lib, so=dll, useshrplib=true, libperl=perl510.lib
     gnulibc_version=''
   Dynamic Linking:
     dlsrc=dl_win32.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' '
     cccdlflags=' ', lddlflags='-dll -nologo -nodefaultlib -debug  
-opt:ref,icf  -libpath:"c:\dev\perl510\lib\CORE"  -mach
ine:x86'


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
   Built under MSWin32
   Compiled at Jan 30 2008 08:15:22
   @INC:
     c:/dev/perl510/lib
     c:/dev/perl510/site/lib
     .


-- 
Cosimo
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.