X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=blobdiff_plain;f=t%2Foptional_apache-cgi.pl;h=fd2d9a66527bc4379d72376eef652c9c17f4001e;hp=8874f153eff4dd35e013b2464693af31929a92fb;hb=ae29b412955743885e80350085167b54b69672da;hpb=130ebb114034ef8895f0e0f62caa47c0d2b62d16 diff --git a/t/optional_apache-cgi.pl b/t/optional_apache-cgi.pl index 8874f15..fd2d9a6 100755 --- a/t/optional_apache-cgi.pl +++ b/t/optional_apache-cgi.pl @@ -33,6 +33,12 @@ rmtree 't/tmp/TestApp/t'; $ENV{CATALYST_SERVER} = 'http://localhost:8529/cgi'; +if ( !-e 't/optional_apache-cgi.pl' ) { + die "ERROR: Please run test from the Catalyst-Runtime directory\n"; +} + +push @ARGV, glob( 't/aggregate/live_*' ); + Apache::TestRun->new->run(@ARGV); # clean up if the server has shut down