about summary refs log tree commit homepage
path: root/t/imapd.t
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2021-03-28 00:17:25 +0000
committerEric Wong <e@80x24.org>2021-03-28 02:43:54 +0000
commit29792d70a5d8305f68521664a7fa2e0fe54ff291 (patch)
tree441c0aafeef6cf9639360308371846cdaf003528 /t/imapd.t
parentba6f3d8379fb9ee8d0f18e3e0d6d77386daf79c9 (diff)
downloadpublic-inbox-29792d70a5d8305f68521664a7fa2e0fe54ff291.tar.gz
This makes it easier to manage test dependencies on systems
where optional stuff isn't installed.  This fixes some lei tests
which didn't check for Plack before starting -httpd, and ensures
Parse::RecDescent is available for -imapd in case
Mail::IMAPClient stops using it.
Diffstat (limited to 't/imapd.t')
-rw-r--r--t/imapd.t3
1 files changed, 1 insertions, 2 deletions
diff --git a/t/imapd.t b/t/imapd.t
index c9911d1b..8cdb4e4a 100644
--- a/t/imapd.t
+++ b/t/imapd.t
@@ -8,8 +8,7 @@ use Time::HiRes ();
 use PublicInbox::TestCommon;
 use PublicInbox::Config;
 use PublicInbox::Spawn qw(which);
-require_mods(qw(DBD::SQLite Mail::IMAPClient Mail::IMAPClient::BodyStructure
-        Email::Address::XS||Mail::Address Parse::RecDescent));
+require_mods(qw(-imapd Mail::IMAPClient));
 my $imap_client = 'Mail::IMAPClient';
 my $can_compress = $imap_client->can('compress');
 if ($can_compress) { # hope this gets fixed upstream, soon