X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Foptional_http-server.t;h=60f925936c37ddba966d4286447be879ba71cbdc;hb=9b1db775e21c29d58957aa1eb7f1446c83b4967a;hp=e4b3b83b1418792d0f01c71d97534f8f091e0ce6;hpb=868a7cca6687d5a4df03ad4f70f60fc124033f62;p=catagits%2FCatalyst-Runtime.git diff --git a/t/optional_http-server.t b/t/optional_http-server.t index e4b3b83..60f9259 100644 --- a/t/optional_http-server.t +++ b/t/optional_http-server.t @@ -1,13 +1,16 @@ use strict; use warnings; +use Test::More; +BEGIN { + plan skip_all => 'set TEST_HTTP to enable this test' unless $ENV{TEST_HTTP}; +} + use File::Path; use FindBin; use IPC::Open3; use IO::Socket; -use Test::More; -plan skip_all => 'set TEST_HTTP to enable this test' unless $ENV{TEST_HTTP}; eval "use Catalyst::Devel 1.0"; plan skip_all => 'Catalyst::Devel required' if $@; eval "use File::Copy::Recursive"; @@ -53,7 +56,7 @@ if ( $single_test ) { $return = system( "$^X -Ilib/ $single_test" ); } else { - $return = prove( '-r', '-Ilib/', glob('t/live_*.t') ); + $return = prove( '-r', '-Ilib/', glob('t/aggregate/live_*.t') ); } # shut it down