[Catalyst-commits] r6212 - trunk/Catalyst-Runtime/t
andyg at dev.catalyst.perl.org
andyg at dev.catalyst.perl.org
Tue Mar 27 20:44:07 GMT 2007
Author: andyg
Date: 2007-03-27 20:44:06 +0100 (Tue, 27 Mar 2007)
New Revision: 6212
Modified:
trunk/Catalyst-Runtime/t/optional_lighttpd-fastcgi-non-root.t
trunk/Catalyst-Runtime/t/optional_lighttpd-fastcgi.t
Log:
Check for the FCGI module before running lighttpd tests
Modified: trunk/Catalyst-Runtime/t/optional_lighttpd-fastcgi-non-root.t
===================================================================
--- trunk/Catalyst-Runtime/t/optional_lighttpd-fastcgi-non-root.t 2007-03-27 18:34:35 UTC (rev 6211)
+++ trunk/Catalyst-Runtime/t/optional_lighttpd-fastcgi-non-root.t 2007-03-27 19:44:06 UTC (rev 6212)
@@ -10,6 +10,9 @@
plan skip_all => 'set TEST_LIGHTTPD to enable this test'
unless $ENV{TEST_LIGHTTPD};
+
+eval "use FCGI";
+plan skip_all => 'FCGI required' if $@;
eval "use Catalyst::Devel 1.0";
plan skip_all => 'Catalyst::Devel required' if $@;
Modified: trunk/Catalyst-Runtime/t/optional_lighttpd-fastcgi.t
===================================================================
--- trunk/Catalyst-Runtime/t/optional_lighttpd-fastcgi.t 2007-03-27 18:34:35 UTC (rev 6211)
+++ trunk/Catalyst-Runtime/t/optional_lighttpd-fastcgi.t 2007-03-27 19:44:06 UTC (rev 6212)
@@ -10,6 +10,9 @@
plan skip_all => 'set TEST_LIGHTTPD to enable this test'
unless $ENV{TEST_LIGHTTPD};
+
+eval "use FCGI";
+plan skip_all => 'FCGI required' if $@;
eval "use Catalyst::Devel 1.0";
plan skip_all => 'Catalyst::Devel required' if $@;
More information about the Catalyst-commits
mailing list