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.
use Test::More;
use File::Temp qw/tempdir/;
use Compress::Zlib qw(compress);
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 $@;
}
eval "require $mod";
plan skip_all => "$mod missing for over.t" if $@;
}
use Test::More;
use PublicInbox::MIME;
use PublicInbox::Import;
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 $@;
}
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 = {
my $mainrepo = tempdir('pi-add-remove-add-XXXXXX', TMPDIR => 1, CLEANUP => 1);
is(system(qw(git init --bare), $mainrepo), 0);
my $ibx = {