about summary refs log tree commit homepage
path: root/t
diff options
context:
space:
mode:
authorEric Wong (Contractor, The Linux Foundation) <e@80x24.org>2018-04-19 19:23:32 +0000
committerEric Wong <e@80x24.org>2018-04-19 19:44:18 +0000
commitb4404feb5925bae6fc5985894f4c7c2593247eda (patch)
tree47d2061411ce2768668acbf4f18d8c18c16882a7 /t
parent2a353273079b2491cbceb20526d3c9dbf43d8f62 (diff)
downloadpublic-inbox-b4404feb5925bae6fc5985894f4c7c2593247eda.tar.gz
We'll be ensuring we can run more of the HTTP and all of the
NNTP interface with only SQLite (and not Xapian) installed
in the future.
Diffstat (limited to 't')
-rw-r--r--t/over.t3
-rw-r--r--t/v1-add-remove-add.t2
2 files changed, 3 insertions, 2 deletions
diff --git a/t/over.t b/t/over.t
index c0d9d5e5..7a3c9721 100644
--- a/t/over.t
+++ b/t/over.t
@@ -5,7 +5,8 @@ use warnings;
 use Test::More;
 use File::Temp qw/tempdir/;
 use Compress::Zlib qw(compress);
-foreach my $mod (qw(DBD::SQLite)) {
+# FIXME: allow using Over w/o Xapian
+foreach my $mod (qw(DBD::SQLite Search::Xapian)) {
         eval "require $mod";
         plan skip_all => "$mod missing for over.t" if $@;
 }
diff --git a/t/v1-add-remove-add.t b/t/v1-add-remove-add.t
index cd6e2811..1e11c71e 100644
--- a/t/v1-add-remove-add.t
+++ b/t/v1-add-remove-add.t
@@ -5,13 +5,13 @@ use warnings;
 use Test::More;
 use PublicInbox::MIME;
 use PublicInbox::Import;
-use PublicInbox::SearchIdx;
 use File::Temp qw/tempdir/;
 
 foreach my $mod (qw(DBD::SQLite Search::Xapian)) {
         eval "require $mod";
         plan skip_all => "$mod missing for v1-add-remove-add.t" if $@;
 }
+require PublicInbox::SearchIdx;
 my $mainrepo = tempdir('pi-add-remove-add-XXXXXX', TMPDIR => 1, CLEANUP => 1);
 is(system(qw(git init --bare), $mainrepo), 0);
 my $ibx = {