develooper Front page | perl.dbi.dev | Postings from February 2012

Re: DBM/DBD::File/SQL::Statement failures

Thread Previous | Thread Next
From:
Martin J. Evans
Date:
February 29, 2012 02:49
Subject:
Re: DBM/DBD::File/SQL::Statement failures
Message ID:
4F4E02A5.4030309@easysoft.com
On 26/02/12 12:27, Tim Bunce wrote:
> On Sat, Feb 25, 2012 at 02:18:56PM -0800, Jonathan Leffler wrote:
>>     On Sat, Feb 25, 2012 at 12:47, Tim Bunce<[1]Tim.Bunce@pobox.com>  wrote:
>>
>>     DBI 1.618 installed fine for me on MacOS X 10.7.3 with Perl 5.14.1
>
> Great.
>
>>     I'm slightly puzzled by a couple of the tests skipping because 'Not running with SQL::Statement', when
>>     in fact I have SQL::Statement installed.
>>
>>     t/52dbm_complex.t ............... ok
>>     t/zvg_52dbm_complex.t ........... ok
>>     t/zvn_52dbm_complex.t ........... skipped: Not running with SQL::Statement
>>     t/zvp_52dbm_complex.t ........... ok
>>     t/zvxgn_52dbm_complex.t ......... skipped: Not running with SQL::Statement
>>     t/zvxgnp_52dbm_complex.t ........ skipped: Not running with SQL::Statement
>>     t/zvxgp_52dbm_complex.t ......... ok
>>     t/zvxnp_52dbm_complex.t ......... skipped: Not running with SQL::Statement
>>
>>     Maybe it is the message that needs tweakiing?
>
> Yes, they should be changed to "requires SQL::Statement module".
>

I thought the "Not running with SQL::Statement" meant the test code uses SQL::Statement but the test code was not running with SQL::Statement e.g., t/zvn_52dbm_complex.t uses Nano and zvp* is Pure Perl so they don't use SQL::Statement.  For those tests it is irrelevant if you have SQL::Statement or not - no?

Martin
-- 
Martin J. Evans
Easysoft Limited
http://www.easysoft.com

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About