]> Sergey Matveev's repositories - public-inbox.git/blobdiff - t/nntp.t
tests: fixup requirements for tests
[public-inbox.git] / t / nntp.t
index c91788820d8fbeb5ffc08091da5a5ffc0c912322..388620e550c26db752f5b75f15d02fe05e257c28 100644 (file)
--- a/t/nntp.t
+++ b/t/nntp.t
@@ -5,6 +5,11 @@ use warnings;
 use Test::More;
 use Data::Dumper;
 
+foreach my $mod (qw(DBD::SQLite Search::Xapian Danga::Socket)) {
+       eval "require $mod";
+       plan skip_all => "$mod missing for nntp.t" if $@;
+}
+
 use_ok 'PublicInbox::NNTP';
 
 {