Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Catalyst: Dev

CATALYST_DEBUG=0 weirdness

 

 

Catalyst dev RSS feed   Index | Next | Previous | View Threaded


diment at gmail

Apr 21, 2009, 6:07 AM

Post #1 of 2 (1188 views)
Permalink
CATALYST_DEBUG=0 weirdness

Something odd going on here. CATALYST_DEBUG=0 prove -l t still has
debugging output when -Debug is set but the env var is 0. This is
different from the 5.7 behaviour. The test in the minimal app
attached fails on 5.8 and passes on 5.7. Apologies it's an evil test
with backticks rather than something proper for folding straight into
the -runtime codebase, I'm not sure how I would do that right given
the need to capture stderr, also the easiest way for me to ge the
desired output is to run script/myapp_test / , so I figured I'd leave
making it a real test to the experts.
Attachments: DebugFail.tar.gz (40.1 KB)


dbix-class at trout

Apr 22, 2009, 7:04 AM

Post #2 of 2 (1090 views)
Permalink
Re: CATALYST_DEBUG=0 weirdness [In reply to]

On Tue, Apr 21, 2009 at 11:07:02PM +1000, Kieren Diment wrote:
> Something odd going on here. CATALYST_DEBUG=0 prove -l t still has
> debugging output when -Debug is set but the env var is 0. This is
> different from the 5.7 behaviour. The test in the minimal app
> attached fails on 5.8 and passes on 5.7. Apologies it's an evil test
> with backticks rather than something proper for folding straight into
> the -runtime codebase, I'm not sure how I would do that right given
> the need to capture stderr, also the easiest way for me to ge the
> desired output is to run script/myapp_test / , so I figured I'd leave
> making it a real test to the experts.

Test MyApp->debug after ->setup instead.

--
Matt S Trout Need help with your Catalyst or DBIx::Class project?
Technical Director http://www.shadowcat.co.uk/catalyst/
Shadowcat Systems Ltd. Want a managed development or deployment platform?
http://chainsawblues.vox.com/ http://www.shadowcat.co.uk/servers/

_______________________________________________
Catalyst-dev mailing list
Catalyst-dev [at] lists
http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst-dev

Catalyst dev RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.