logo       

Re: PAGING JNAPIOROWSKI: msg#00204

Subject: Re: PAGING JNAPIOROWSKI
--- Matt S Trout <dbix-class@xxxxxxxxxxx> 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@xxxxxxxx>            
> 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@xxxxxxxxxxxxxxxxx/
> 
> -- 
> 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@xxxxxxxxxxxxxxxxx/
> 



 
____________________________________________________________________________________
Want to start your own business?
Learn how on Yahoo! Small Business.
http://smallbusiness.yahoo.com/r-index



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
audio.irate.dev...    yellowdog.gener...    ietf.ips/2002-0...    xfree86.fonts/2...    busybox/2003-07...    emacs.jdee/2004...    linux.mandrake....    hardware.microc...    user-groups.lin...    science.analysi...    version-control...    db.filemaker.de...    cluster.openmos...    mail.eyebrowse....    text.xml.xerces...    kde.devel.kwrit...    finance.moneyda...    gcc.regression/...    network.routing...    os.freebsd.deve...    recreation.radi...    qnx.openqnx.dev...    python.xml/2002...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe