From: Andy Grundman Date: Mon, 17 Oct 2005 18:14:05 +0000 (+0000) Subject: Changed HTTP test to work the right way X-Git-Tag: 5.7099_04~1206 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=commitdiff_plain;h=f0ee1a76cfff0c8b7c74dda3f1be716b60659ed2;hp=040850b3a4a5f2bff1bbce5231d9ee4848d32362 Changed HTTP test to work the right way --- diff --git a/t/optional/01http-server.ot b/t/optional/01http-server.ot index 3520be1..18d8797 100644 --- a/t/optional/01http-server.ot +++ b/t/optional/01http-server.ot @@ -3,9 +3,13 @@ use strict; use warnings; -use File::Copy::Recursive; use File::Path; use FindBin; +use Test::More; +eval "use File::Copy::Recursive"; + +plan skip_all => 'File::Copy::Recursive required' if $@; +plan skip_all => 'set TEST_HTTP to enable this test' unless $ENV{TEST_HTTP}; # clean up rmtree "$FindBin::Bin/../../t/var" if -d "$FindBin::Bin/../../t/var";