about summary refs log tree commit homepage
path: root/lib/PublicInbox/TestCommon.pm
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2021-09-12 08:42:19 +0000
committerEric Wong <e@80x24.org>2021-09-12 08:46:27 +0000
commit055df1529a76078330ed9fb468130b051ba7aae4 (patch)
tree858be52a9cea560e72ed6e708710c36a67672cfd /lib/PublicInbox/TestCommon.pm
parentfc7b32789a8d223e6550d9315216833fa602bd22 (diff)
downloadpublic-inbox-055df1529a76078330ed9fb468130b051ba7aae4.tar.gz
Other missing dependencies are more straightforward, but
Gcf2 requires a combination of libgit2-dev, pkg-config,
Inline::C, and proper setup.

This significantly reduces noise in tests with a minimal
set of dependencies installed.
Diffstat (limited to 'lib/PublicInbox/TestCommon.pm')
-rw-r--r--lib/PublicInbox/TestCommon.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/PublicInbox/TestCommon.pm b/lib/PublicInbox/TestCommon.pm
index d28b32b0..628beaf1 100644
--- a/lib/PublicInbox/TestCommon.pm
+++ b/lib/PublicInbox/TestCommon.pm
@@ -144,7 +144,7 @@ sub require_mods {
                         eval "require $mod";
                 }
                 if ($@) {
-                        diag "require $mod: $@";
+                        diag "require $mod: $@" if $mod =~ /Gcf2/;
                         push @need, $mod;
                 } elsif ($mod eq 'IO::Socket::SSL' &&
                         # old versions of IO::Socket::SSL aren't supported