diff options
Diffstat (limited to 't/watch_maildir.t')
-rw-r--r-- | t/watch_maildir.t | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/t/watch_maildir.t b/t/watch_maildir.t index e8c97406..be1a3128 100644 --- a/t/watch_maildir.t +++ b/t/watch_maildir.t @@ -4,6 +4,11 @@ use Test::More; use File::Temp qw/tempdir/; use Email::MIME; use PublicInbox::Config; +my @mods = qw(Filesys::Notify::Simple); +foreach my $mod (@mods) { + eval "require $mod"; + plan skip_all => "$mod missing for watch_maildir.t" if $@; +} my $tmpdir = tempdir('watch_maildir-XXXXXX', TMPDIR => 1, CLEANUP => 1); my $git_dir = "$tmpdir/test.git"; |