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.1 required=3.0 tests=ALL_TRUSTED,AWL,BAYES_00, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, T_SCC_BODY_TEXT_LINE 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 D28631F54E for ; Thu, 11 Aug 2022 22:33:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=80x24.org; s=selector1; t=1660257185; bh=Tduv1yE97IFQdAYpQho3EQFuf837bs65c4MYkq2EY4A=; h=From:To:Subject:Date:From; b=lM9e4hlkpZI+onwzXEGud4DjgudxA2dbCqFs+loGRDElnQ9asI4ynpLz/ZyGkbjG7 5davcpLB38aATfgNKN1SEY8wFErTJ9RAkj1T4KM/3H7O/vYiy4Z0y6VTnMZDU/hUe/ vGTAopKqZBveMtWF4p1CzxXtCKptLiH5c3MhekIg= From: Eric Wong To: meta@public-inbox.org Subject: [PATCH] tests: support require_mods 'v2' Date: Thu, 11 Aug 2022 22:33:05 +0000 Message-Id: <20220811223305.1560-1-e@80x24.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: This fixes t/v2index-late-dupe.t to be skipped properly on systems without DBD::SQLite --- lib/PublicInbox/TestCommon.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/PublicInbox/TestCommon.pm b/lib/PublicInbox/TestCommon.pm index ecf7a261..04adede0 100644 --- a/lib/PublicInbox/TestCommon.pm +++ b/lib/PublicInbox/TestCommon.pm @@ -136,7 +136,7 @@ sub require_mods { push @mods, qw(Parse::RecDescent DBD::SQLite Email::Address::XS||Mail::Address); next; - } elsif ($mod eq '-nntpd') { + } elsif ($mod eq '-nntpd' || $mod eq 'v2') { push @mods, qw(DBD::SQLite); next; }