projects
/
public-inbox.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ae3dbfe
)
test_common: print diagnostic for missing dependencies
author
Eric Wong <e@80x24.org>
Thu, 9 Sep 2021 21:34:36 +0000 (21:34 +0000)
committer
Eric Wong <e@80x24.org>
Fri, 10 Sep 2021 03:06:15 +0000 (
03:06
+0000)
The "#" prefix should prevent it from being too alarming if
a dependency is expected to be missing, but still useful if a
dependency is misconfigured.
lib/PublicInbox/TestCommon.pm
patch
|
blob
|
history
diff --git
a/lib/PublicInbox/TestCommon.pm
b/lib/PublicInbox/TestCommon.pm
index 83dcf650d9c915e5357725b6bb23fe8f5e259756..2e3e9eccce7980d424368e3337ee83bb0c3a4e54 100644
(file)
--- a/
lib/PublicInbox/TestCommon.pm
+++ b/
lib/PublicInbox/TestCommon.pm
@@
-144,6
+144,7
@@
sub require_mods {
eval "require $mod";
}
if ($@) {
+ diag "require $mod: $@";
push @need, $mod;
} elsif ($mod eq 'IO::Socket::SSL' &&
# old versions of IO::Socket::SSL aren't supported