X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Foptional_apache-cgi-rewrite.pl;h=8ce1d6b85e4c7fb112818f958e35a2c394008785;hb=3aea242a45514abd7b804d907d57071ebaf990c1;hp=7a6cbf15b666ff5d1ee514c79f914964501090fb;hpb=130ebb114034ef8895f0e0f62caa47c0d2b62d16;p=catagits%2FCatalyst-Runtime.git diff --git a/t/optional_apache-cgi-rewrite.pl b/t/optional_apache-cgi-rewrite.pl index 7a6cbf1..8ce1d6b 100755 --- a/t/optional_apache-cgi-rewrite.pl +++ b/t/optional_apache-cgi-rewrite.pl @@ -33,6 +33,12 @@ rmtree 't/tmp/TestApp/t'; $ENV{CATALYST_SERVER} = 'http://localhost:8529/rewrite'; +if ( !-e 't/optional_apache-cgi-rewrite.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