Mailing List Archive

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.
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@lists.scsys.co.uk
http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst-dev