[Dbix-class] PAGING JNAPIOROWSKI
jjn1056 at yahoo.com
Wed Jan 24 18:28:12 GMT 2007
--- Matt S Trout <dbix-class at trout.me.uk> wrote:
> Yes, I'm top posting. And I almost certainly spelt
> your name wrong.
> And you've left us with failing tests so FIX YER
> CODE, and while
> you're there please go through your code and REMOVE
> ANY TABS. The
> standard for DBIx::Class is TWO SPACE INDENT and I
> would like it kept
> This message brought to you by the DEPARTMENT OF
> CAPITALISATION. :)
Sorry about that. I checked in some updates just now
that fixed the tab issue and updated my tests so that
it looks for the follow ENV variables to connect:
If you don't have that then the tests get skipped.
I'm not sure if I am using these correctly though, I
copied from 70pg.t the way this works, I get the
following error for that test now:
Can't locate package
/mnt/hgfs/dbic/lib//DBIx/Class/Schema.pm line 595.
So I'm guessing I'm not using DBICTEST_PG_DSN
correctly. DOes anyone have a working example?
The only tests I can see as failing are the mentioned
70pg.t, and the join.t test. I looked carefully at
that code and can't really see that what I did would
have affected them. Can anyone let me know if those
are failing even without my changes?
Oh, BTW, my test right now is simple
'bindtype_columns.t' but I noticed you used a
numbering scheme for tests. Should I change my
filename to something appropriate?
> On 24 Jan 2007, at 14:02, David Jack Olrik wrote:
> > On 24/01/2007, at 14.04, Matt S Trout wrote:
> >> A few? I only see one, 76joins.t, which is being
> worked on in the
> >> collapse_result_rewrite branch
> > Failed Test Stat Wstat Total Fail List
> of Failed
> > ---------
> > t/76joins.t 1 256 53 1 53
> > t/bindtype_columns.t 255 65280 3 6 1-3
> > 15 tests and 18 subtests skipped.
> > Failed 2/95 test scripts. 4/2198 subtests failed.
> > Files=95, Tests=2198, 661 wallclock secs (105.26
> cusr + 25.79 csys
> > = 131.05 CPU)
> > Failed 2/95 test programs. 4/2198 subtests failed.
> > t/bindtype_columns.t fails as et asumes that my
> postgres user is
> > called 'postgres'.
> > (I use posegres 8.1 from macports whose postgres
> user is called
> > 'postgres81')
> > Adding a 'postgres' user allows the test to pass,
> so just ignore me =)
> > Unless someone knows a reliable way to autodetect
> the postgres
> > 'super user'...
> > --
> > Best regards,
> > David Jack Olrik <david at olrik.dk>
> > GnuPG fingerprint C290 0A4A 0CCC CBA8 2B37 E18D
> 01D2 F6EF 2E61 9894
> > ["The first rule of Perl club is You do not talk
> about Perl club"]
> > _______________________________________________
> > List:
> > Wiki: http://dbix-class.shadowcatsystems.co.uk/
> > IRC: irc.perl.org#dbix-class
> > SVN:
> > Searchable Archive:
> > class at lists.rawmode.org/
> Matt S Trout, Technical Director, Shadowcat Systems
> Offering custom development, consultancy and support
> contracts for
> DBIx::Class and BAST. Contact mst (at)
> shadowcatsystems.co.uk for
> + Help us build a better perl ORM: http://dbix-
> class.shadowcatsystems.co.uk/ +
> Wiki: http://dbix-class.shadowcatsystems.co.uk/
> IRC: irc.perl.org#dbix-class
> Searchable Archive:
Want to start your own business?
Learn how on Yahoo! Small Business.
More information about the Dbix-class