diff options
-rw-r--r-- | t/over.t | 3 | ||||
-rw-r--r-- | t/v1-add-remove-add.t | 2 |
2 files changed, 3 insertions, 2 deletions
@@ -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 = { |