From a47d55c2f93cad83440ce20aa8bd971fa1501b56 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Sun, 7 Feb 2021 08:51:51 +0000 Subject: tests: guard setup_public_inboxes for SQLite and Xapian This will need some work to before it's generally applicable to the rest of our code base. --- t/lei-externals.t | 2 ++ t/lei-mirror.t | 2 ++ 2 files changed, 4 insertions(+) diff --git a/t/lei-externals.t b/t/lei-externals.t index f2cb09b4..28c01174 100644 --- a/t/lei-externals.t +++ b/t/lei-externals.t @@ -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/ diff --git a/t/lei-mirror.t b/t/lei-mirror.t index 2373b370..667284fd 100644 --- a/t/lei-mirror.t +++ b/t/lei-mirror.t @@ -2,6 +2,8 @@ # Copyright (C) 2020-2021 all contributors # License: AGPL-3.0+ 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.'/'; -- cgit v1.2.3-24-ge0c7