X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=t%2Fapache_mvc.t;h=9a3eafdb09b71ee081f0d14d3ac1940b13fd4aca;hb=b1d78352f8dc3f27b8ddda28d638ba3e80d2abf5;hp=e6561289fa74ef370b18ed37e0b5de724d24d00d;hpb=c507effb17979d428b860716fcf126c26c0efb3c;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