about summary refs log tree commit homepage
path: root/t
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2015-08-17 02:41:06 +0000
committerEric Wong <e@80x24.org>2015-08-17 03:12:04 +0000
commit497fd31fce317a99daa2e2b8713572f383602ecd (patch)
tree8fbebc6c0e9c451fe914fd853b4039ee478c33a3 /t
parent118ac5c2dc0e7a193ff58f2a9003636e1353583c (diff)
downloadpublic-inbox-497fd31fce317a99daa2e2b8713572f383602ecd.tar.gz
We will not require Search::Xapian to be installed.
Diffstat (limited to 't')
-rw-r--r--t/search.t3
1 files changed, 2 insertions, 1 deletions
diff --git a/t/search.t b/t/search.t
index 9bdd3cee..7ef86cd4 100644
--- a/t/search.t
+++ b/t/search.t
@@ -3,8 +3,9 @@
 use strict;
 use warnings;
 use Test::More;
+eval { require PublicInbox::Search; };
+plan skip_all => "Xapian missing for search" if $@;
 use File::Temp qw/tempdir/;
-use PublicInbox::Search;
 use Email::MIME;
 use Data::Dumper;
 my $tmpdir = tempdir(CLEANUP => 1);