From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-Status: No, score=-3.9 required=3.0 tests=ALL_TRUSTED,AWL,BAYES_00 shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id 5F57F1FC0B for ; Sun, 7 Feb 2021 08:52:02 +0000 (UTC) From: Eric Wong To: meta@public-inbox.org Subject: [PATCH 09/19] tests: guard setup_public_inboxes for SQLite and Xapian Date: Sun, 7 Feb 2021 08:51:51 +0000 Message-Id: <20210207085201.13871-10-e@80x24.org> In-Reply-To: <20210207085201.13871-1-e@80x24.org> References: <20210207085201.13871-1-e@80x24.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: 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.'/';