]> Sergey Matveev's repositories - public-inbox.git/commitdiff
tests: guard setup_public_inboxes for SQLite and Xapian
authorEric Wong <e@80x24.org>
Sun, 7 Feb 2021 08:51:51 +0000 (08:51 +0000)
committerEric Wong <e@80x24.org>
Sun, 7 Feb 2021 22:57:03 +0000 (22:57 +0000)
This will need some work to before it's generally applicable
to the rest of our code base.

t/lei-externals.t
t/lei-mirror.t

index f2cb09b4d2e7853d0ad19e806465bebd8d239ce9..28c01174f4c17393761b713e3cf4a245eb57c909 100644 (file)
@@ -4,6 +4,8 @@
 use strict; use v5.10.1; use PublicInbox::TestCommon;
 use Fcntl qw(SEEK_SET);
 use PublicInbox::Spawn qw(which);
+require_git 2.6;
+require_mods(qw(DBD::SQLite Search::Xapian));
 
 my @onions = qw(http://hjrcffqmbrq6wope.onion/meta/
        http://czquwvybam4bgbro.onion/meta/
index 2373b370dcd81b0d26aa74fbcf7805f699bcaf52..667284fd5bb39b469ed283f7ab0ed842dc173f8e 100644 (file)
@@ -2,6 +2,8 @@
 # Copyright (C) 2020-2021 all contributors <meta@public-inbox.org>
 # License: AGPL-3.0+ <https://www.gnu.org/licenses/agpl-3.0.txt>
 use strict; use v5.10.1; use PublicInbox::TestCommon;
+require_git 2.6;
+require_mods(qw(DBD::SQLite Search::Xapian));
 my $sock = tcp_server();
 my ($tmpdir, $for_destroy) = tmpdir();
 my $http = 'http://'.$sock->sockhost.':'.$sock->sockport.'/';