X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=blobdiff_plain;f=t%2Foptional_apache-cgi-rewrite.pl;fp=t%2Foptional_apache-cgi-rewrite.pl;h=ce4d9c8a129b2c9f91deeb9b33e350bf14f2e018;hp=7a6cbf15b666ff5d1ee514c79f914964501090fb;hb=498a0db3d2c6de86ea2185be6620625785e14196;hpb=55a7d9850d78f35c8950eacbdb881d68c71c6bf6 diff --git a/t/optional_apache-cgi-rewrite.pl b/t/optional_apache-cgi-rewrite.pl index 7a6cbf1..ce4d9c8 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/live_*' ); + Apache::TestRun->new->run(@ARGV); # clean up if the server has shut down