You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spamassassin.apache.org by he...@apache.org on 2021/04/25 06:00:05 UTC

svn commit: r1889161 - /spamassassin/trunk/t/header_utf8.t

Author: hege
Date: Sun Apr 25 06:00:04 2021
New Revision: 1889161

URL: http://svn.apache.org/viewvc?rev=1889161&view=rev
Log:
warn about missing Net::LibIDN

Modified:
    spamassassin/trunk/t/header_utf8.t

Modified: spamassassin/trunk/t/header_utf8.t
URL: http://svn.apache.org/viewvc/spamassassin/trunk/t/header_utf8.t?rev=1889161&r1=1889160&r2=1889161&view=diff
==============================================================================
--- spamassassin/trunk/t/header_utf8.t (original)
+++ spamassassin/trunk/t/header_utf8.t Sun Apr 25 06:00:04 2021
@@ -8,6 +8,10 @@ BEGIN {
   eval { require Net::LibIDN } and do { $have_libidn = 1 };
 }
 
+if (!$have_libidn) {
+  warn "Net::LibIDN is not installed, tests will be lacking\n";
+}
+
 use Test::More;
 plan skip_all => "Test requires Perl 5.8" unless $] > 5.008; # TODO: SA already doesn't support anything below 5.8.1
 plan tests => 156;