[Catalyst-commits] r9785 - in Catalyst-Runtime/5.80/trunk: . t

t0m at dev.catalyst.perl.org t0m at dev.catalyst.perl.org
Tue Apr 21 23:20:03 GMT 2009


Author: t0m
Date: 2009-04-22 00:20:02 +0100 (Wed, 22 Apr 2009)
New Revision: 9785

Modified:
   Catalyst-Runtime/5.80/trunk/Changes
   Catalyst-Runtime/5.80/trunk/t/unit_core_setup_log.t
Log:
Changelog, use stdout in tests to be less noisy

Modified: Catalyst-Runtime/5.80/trunk/Changes
===================================================================
--- Catalyst-Runtime/5.80/trunk/Changes	2009-04-21 23:12:16 UTC (rev 9784)
+++ Catalyst-Runtime/5.80/trunk/Changes	2009-04-21 23:20:02 UTC (rev 9785)
@@ -1,5 +1,10 @@
 # This file documents the revision history for Perl extension Catalyst.
 
+        - Fix CATALYST_DEBUG and MYAPP_DEBUG environment variables
+          turning debuging on if defined, rather than if set.
+          They now force debugging on or off, taking precedence over
+          configuration in your application. (t0m)
+          - Tests for this (t0m)
         - pass replace_constructor to the immutable call to ensure
           applications get a Moose constructor rather than a C::A one
 

Modified: Catalyst-Runtime/5.80/trunk/t/unit_core_setup_log.t
===================================================================
--- Catalyst-Runtime/5.80/trunk/t/unit_core_setup_log.t	2009-04-21 23:12:16 UTC (rev 9784)
+++ Catalyst-Runtime/5.80/trunk/t/unit_core_setup_log.t	2009-04-21 23:20:02 UTC (rev 9785)
@@ -8,7 +8,7 @@
 
 sub mock_app {
     my $name = shift;
-    warn("Setting up mock application: $name\n");
+    print "Setting up mock application: $name\n";
     my $meta = Moose->init_meta( for_class => $name );
     $meta->superclasses('Catalyst');
     return $meta->name;




More information about the Catalyst-commits mailing list