aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoey Hess <joey@gnu.kitenet.net>2009-10-14 13:15:12 -0400
committerJoey Hess <joey@gnu.kitenet.net>2009-10-14 13:15:12 -0400
commit57a135c92ac33f792d138fcdbeb72e8ad5f37670 (patch)
treea4945a49e4a2a0364abf02f26a2fa4575908f5c7
parentef7bddbc3693d7abf227100a9a9bc21d186dfada (diff)
downloadikiwiki-57a135c92ac33f792d138fcdbeb72e8ad5f37670.tar
ikiwiki-57a135c92ac33f792d138fcdbeb72e8ad5f37670.tar.gz
abort test if cvs prereq perl modules are not available
-rwxr-xr-xt/cvs.t8
1 files changed, 8 insertions, 0 deletions
diff --git a/t/cvs.t b/t/cvs.t
index c9caa94eb..2808973be 100755
--- a/t/cvs.t
+++ b/t/cvs.t
@@ -13,6 +13,14 @@ BEGIN {
use Test::More skip_all => "cvs or cvsps not available or could not make test dir"
}
}
+ foreach my $module ('File::ReadBackwards', 'File::MimeInfo') {
+ eval qq{use $module};
+ if ($@) {
+ eval qq{
+ use Test::More skip_all => "$module not available"
+ }
+ }
+ }
}
use Test::More tests => 12;