* [PATCH] tests: support require_mods 'v2'
@ 2022-08-11 22:33 Eric Wong
0 siblings, 0 replies; only message in thread
From: Eric Wong @ 2022-08-11 22:33 UTC (permalink / raw)
To: meta
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;
}
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2022-08-11 22:33 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-11 22:33 [PATCH] tests: support require_mods 'v2' Eric Wong
Code repositories for project(s) associated with this public inbox
https://80x24.org/public-inbox.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).