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-ASN: X-Spam-Status: No, score=-4.0 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 364F11F462 for ; Sun, 16 Jun 2019 03:22:26 +0000 (UTC) From: Eric Wong To: meta@public-inbox.org Subject: [PATCH] t/replace.t: fix SKIP label for testing w/o Xapian Date: Sun, 16 Jun 2019 03:22:25 +0000 Message-Id: <20190616032225.38885-1-e@80x24.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: --- t/replace.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/t/replace.t b/t/replace.t index 6fae551..b1ee15b 100644 --- a/t/replace.t +++ b/t/replace.t @@ -184,7 +184,7 @@ test_replace(2, 'basic', $opt); test_replace(2, 'basic', $opt = { %$opt, post => *pad_msgs }); test_replace(2, 'basic', $opt = { %$opt, rotate_bytes => 1 }); -SKIP: if ('test xapian') { +SKIP: { require PublicInbox::Search; PublicInbox::Search::load_xapian() or skip 'Search::Xapian missing', 8; for my $l (qw(medium)) { -- EW