X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=t%2Fapache_mvc.t;h=9a3eafdb09b71ee081f0d14d3ac1940b13fd4aca;hb=8617321ebf13ce6b63d41a65a003d153f2b5cc5e;hp=e6561289fa74ef370b18ed37e0b5de724d24d00d;hpb=13c3c3ffef691cfc461e88ac9a9e6cef65a15a8f;p=maypole.git diff --git a/t/apache_mvc.t b/t/apache_mvc.t index e656128..9a3eafd 100644 --- a/t/apache_mvc.t +++ b/t/apache_mvc.t @@ -1,7 +1,10 @@ #!/usr/bin/perl -w use strict; -use Test::More tests => 10; - +use Test::More; +BEGIN { if (eval { require mod_perl }) { + plan tests => 2; + } else { Test::More->import(skip_all =>"mod_perl is not installed: $@") } + } require_ok('Apache::MVC'); ok($Apache::MVC::VERSION, 'defines $VERSION'); # defines $VERSION