[Dbix-class] PAGING JNAPIOROWSKI
John Napiorkowski
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
> to.
>
> This message brought to you by the DEPARTMENT OF
> RANDOM
> CAPITALISATION. :)
Okay,
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:
DBICTEST_PG_USER
DBICTEST_PG_PASS
DBICTEST_PG_DSN
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
dbi:Pg:dbname=postgres;host=localhost for
@PgTest::SourceNameArtists::ISA at
/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?
--john
>
> 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>
> http://david.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:
>
http://lists.rawmode.org/cgi-bin/mailman/listinfo/dbix-class
> > Wiki: http://dbix-class.shadowcatsystems.co.uk/
> > IRC: irc.perl.org#dbix-class
> > SVN:
>
http://dev.catalyst.perl.org/repos/bast/trunk/DBIx-Class/
> > Searchable Archive:
> http://www.mail-archive.com/dbix-
> > class at lists.rawmode.org/
>
> --
> Matt S Trout, Technical Director, Shadowcat Systems
> Ltd.
> Offering custom development, consultancy and support
> contracts for
> Catalyst,
> DBIx::Class and BAST. Contact mst (at)
> shadowcatsystems.co.uk for
> details.
> + Help us build a better perl ORM: http://dbix-
> class.shadowcatsystems.co.uk/ +
>
>
>
> _______________________________________________
> List:
>
http://lists.rawmode.org/cgi-bin/mailman/listinfo/dbix-class
> Wiki: http://dbix-class.shadowcatsystems.co.uk/
> IRC: irc.perl.org#dbix-class
> SVN:
>
http://dev.catalyst.perl.org/repos/bast/trunk/DBIx-Class/
> Searchable Archive:
>
http://www.mail-archive.com/dbix-class@lists.rawmode.org/
>
____________________________________________________________________________________
Want to start your own business?
Learn how on Yahoo! Small Business.
http://smallbusiness.yahoo.com/r-index
More information about the Dbix-class
mailing list