Re: Please Test: AutoInactiveDestroy

"Martin J. Evans" <[email protected]>
Newsgroups gmane.comp.lang.perl.modules.dbi.sybase.devel
Message-ID <[email protected]>
Martin J. Evans wrote:
> David E. Wheeler wrote:
>> On Jul 27, 2010, at 9:42 AM, Martin J. Evans wrote:
>>
>>  
>>> Test has no driver CLONE() function so is unsafe threaded
>>> FAILED tests 19-20
>>>        Failed 2/20 tests, 90.00% okay
>>> Failed Test       Stat Wstat Total Fail  List of Failed
>>> ------------------------------------------------------------------------------- 
>>>
>>> t\zvp_16destroy.t               20    2  19-20
>>> Failed 1/1 test scripts. 2/20 subtests failed.
>>> Files=1, Tests=20,  1 wallclock secs ( 0.00 cusr +  0.00 csys =  
>>> 0.00 CPU)
>>> Failed 1/1 test programs. 2/20 subtests failed.
>>>
>>> C:\perlbuild_xxx\dbi_trunk>
>>>     
>>
>> As a wild guess, I've just added a CLONE() function in r14289. Would 
>> you mind trying again?
>>
>>  
>>> I'm around on #dbi (as mje) tomorrow if that helps. Might be around 
>>> this
>>> evening also but I'm not I've got a Windows machine available tonight.
>>>     
>>
>> As am I. I'm "theory".
>>
>> Best,
>>
>> David
> My windows machine at home behaves rather differently - might have to 
> wait until tomorrow (I'm getting a number of segfaults so I'm guessing 
> I have other problems).
>
> By all means pester me tomorrow on #dbi if you need more.
>
> Martin
>
On a totally different Windows machine but I think a working Perl:

H:\Documents and Settings\Martin\dbi_trunk>svn update
At revision 14289.

H:\Documents and Settings\Martin\dbi_trunk>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
Failed 2/20 subtests

Test Summary Report
-------------------
t\zvp_16destroy.t (Wstat: 0 Tests: 18 Failed: 0)
  Parse errors: Bad plan.  You planned 20 tests but ran 18.
Files=1, Tests=18,  0 wallclock secs ( 0.06 usr +  0.06 sys =  0.13 CPU)
Result: FAIL

If you need to look into this further #dbi is best tomorrow - too late 
now for me.

Martin
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.