Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

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

Report information
The Basics
Id: 45186
Status: resolved
Priority: 0/
Queue: Data-ObjectDriver

People
Owner: yann.kerherve [...] gmail.com
Requestors: emmanuel.seyman [...] club-internet.fr
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: t/02-basic.t fails
Date: Tue, 21 Apr 2009 14:03:43 +0200
To: bug-Data-ObjectDriver [...] rt.cpan.org
From: Emmanuel Seyman <emmanuel.seyman [...] club-internet.fr>
I've run into difficulties running this module's tests on Fedora's development branch. Running the tests against sqlite 3.6.12 makes them fail with the following error : # Failed test 'removing all bad wine' # at t/02-basic.t line 245. # got: '3' # expected: '0E0' # Looks like you failed 1 test of 67. t/02-basic.t ............... Dubious, test returned 1 (wstat 256, 0x100) Failed 1/67 subtests
Salut Emmanuel, What version of DBD::SQLite are you using, tests are passing for me with sqlite 3.3.6 and DBD::SQLite 1.11 but fail with 1.25 (latest). In this test it was specified: # note sqlite is stupid and doesn't return the number of affected rows I guess it's not the case anymore ;) I've patched the test suite. Thanks
Subject: Re: [rt.cpan.org #45186] t/02-basic.t fails
Date: Sun, 26 Apr 2009 10:13:29 +0200
To: Yann Kerherve via RT <bug-Data-ObjectDriver [...] rt.cpan.org>
From: Emmanuel Seyman <emmanuel.seyman [...] club-internet.fr>
Salut, Yann. * Yann Kerherve via RT [25/04/2009 00:35] : Show quoted text
> > What version of DBD::SQLite are you using, tests are passing for me with > sqlite 3.3.6 and DBD::SQLite 1.11 but fail with 1.25 (latest).
It all depends on the sqlite version. At first, the test passed on Fedora 10 (sqlite 3.3.x, DBD::Sqlite 1.14) but didn't pass on the developement branch (sqlite sqlite 3.5.9, DBD::SQLite 1.14). Since Fedora issued an update to sqlite, pushing 3.5.9 on Fedora 10, the tests fail there too. See http://bugzilla.redhat.com/show_bug.cgi?id=494872 for details. Show quoted text
> I guess it's not the case anymore ;) > I've patched the test suite.
Great. Any chance of a release ? Barring that, can you make the patch availible so that I can submit a patched version of 0.06 to Fedora ?
On Sun Apr 26 04:13:57 2009, emmanuel.seyman@club-internet.fr wrote: Show quoted text
> > Salut, Yann. > > * Yann Kerherve via RT [25/04/2009 00:35] :
> > > > What version of DBD::SQLite are you using, tests are passing for me
> with
> > sqlite 3.3.6 and DBD::SQLite 1.11 but fail with 1.25 (latest).
> > It all depends on the sqlite version. > > At first, the test passed on Fedora 10 (sqlite 3.3.x, DBD::Sqlite > 1.14) > but didn't pass on the developement branch (sqlite sqlite 3.5.9, > DBD::SQLite 1.14). > > Since Fedora issued an update to sqlite, pushing 3.5.9 on Fedora 10, > the tests > fail there too. > > See http://bugzilla.redhat.com/show_bug.cgi?id=494872 for details. >
Weird I would have thought that the reason of the failure was DBD::SQLite and not sqlite itself... Show quoted text
> > I guess it's not the case anymore ;) > > I've patched the test suite.
> > Great. Any chance of a release ? Barring that, can you make the patch > availible so > that I can submit a patched version of 0.06 to Fedora ?
Well, it's a patch to the test suite, and not to the actual code, so we won't rush it to a release. The patch is available there: - http://github.com/yannk/perl-data-objectdriver/commit/f757856631471527484a9cabc9b5098a639f6406 - http://code.sixapart.com/trac/Data-ObjectDriver/changeset/567 Yann
Subject: Re: [rt.cpan.org #45186] t/02-basic.t fails
Date: Mon, 27 Apr 2009 21:04:56 +0200
To: Yann Kerherve via RT <bug-Data-ObjectDriver [...] rt.cpan.org>
From: Emmanuel Seyman <emmanuel.seyman [...] club-internet.fr>
* Yann Kerherve via RT [27/04/2009 20:41] : Show quoted text
> > Weird I would have thought that the reason of the failure was > DBD::SQLite and not sqlite itself...
It doesn't. I've tried all combinisons of sqlite 3.3, sqlite 3.5, dbd::sqlite 1.14 and dbd::sqlite 1.21 . Upgrading sqlite is all that's needed to make the tests fail. Show quoted text
> Well, it's a patch to the test suite, and not to the actual code, so we > won't rush it to a release. The patch is available there: > - > http://github.com/yannk/perl-data-objectdriver/commit/f757856631471527484a9cabc9b5098a639f6406 > - http://code.sixapart.com/trac/Data-ObjectDriver/changeset/567
This fails on my machine (sqlite-3.5.9, perl-DBD-SQLite-1.21) t/02-basic.t ............... 1/67 # Failed test 'removing all bad wine' # at t/02-basic.t line 248. # got: '3' # expected: '0' # Looks like you failed 1 test of 67. Emmanuel
Subject: Re: [rt.cpan.org #45186] t/02-basic.t fails
Date: Mon, 27 Apr 2009 12:37:55 -0700
To: bug-Data-ObjectDriver [...] rt.cpan.org
From: Yann Kerherve <yann.kerherve [...] gmail.com>
Show quoted text
> It doesn't. I've tried all combinisons of sqlite 3.3, sqlite 3.5, > dbd::sqlite 1.14 and dbd::sqlite 1.21 . Upgrading sqlite is all > that's needed to make the tests fail.
Alright, I've changed the test to reflect that, thanks Yann
Subject: t/33-views fails as well, is this related?
t/33-views.................ok 2/6 skipped: DBD::SQLite bug? This is on 0.6 (as on CPAN) as well as 0.7 in your git archive
On Sun Aug 09 17:55:21 2009, DJK wrote: Show quoted text
> t/33-views.................ok > > 2/6 skipped: DBD::SQLite bug? > > This is on 0.6 (as on CPAN) as well as 0.7 in your git archive
DJK, it doesn't fail as far as I can tell from what you've pasted here, it just skips a test that doesn't work with DBD::SQLite. Yann
in 0.07