X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=blobdiff_plain;f=t%2Foptional%2F01http-server.ot;h=18d87973ef372535dd73b04fa7709f009cd9a615;hp=3520be1c172ddeebe9772569766882521c02e0ca;hb=f0ee1a76cfff0c8b7c74dda3f1be716b60659ed2;hpb=040850b3a4a5f2bff1bbce5231d9ee4848d32362 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";