Re: Please Test: AutoInactiveDestroy
"Martin J. Evans" <[email protected]>
| Newsgroups | gmane.comp.lang.perl.modules.dbi.sybase.devel |
|---|---|
| Organization | Easysoft Limited |
| Message-ID | <[email protected]> |
David E. Wheeler wrote:
> Fellow DBIers,
>
> With a bit of help from me, Tim added a new feature to the DBI yesterday: AutoInactiveDestroy. I wrote the test for it. The test, however, forks. We need to make sure that it doesn't die an ugly death on systems without fork (and on Win32, where it's emulated). If you have such a system, would you minding checking out the repository and building and testing DBI?
>
> svn co http://svn.perl.org/modules/dbi/trunk
>
> Thanks!
>
> David
>
zvp_16destroy.t and zvxgp_16destroy.t fail for me. Here is the verbose
output for the former:
C:\perlbuild_xxx\dbi_trunk>prove -vb t\zvp_16destroy.t
t\zvp_16destroy....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
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>
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.
Martin
--
Martin J. Evans
Easysoft Limited
http://www.easysoft.com