support/testing: add perl-mail-dkim test

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Reviewed-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
[https://gitlab.com/RicardoMartincoski/buildroot/-/jobs/124872333]
Tested-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Francois Perrad 2018-11-24 10:07:20 +01:00 committed by Thomas Petazzoni
parent 1ac4178f2f
commit d48dc64c7d
2 changed files with 29 additions and 0 deletions

View File

@ -319,6 +319,7 @@ tests.package.test_perl.TestPerl: *runtime_test
tests.package.test_perl_class_load.TestPerlClassLoad: *runtime_test
tests.package.test_perl_gdgraph.TestPerlGDGraph: *runtime_test
tests.package.test_perl_libwww_perl.TestPerllibwwwperl: *runtime_test
tests.package.test_perl_mail_dkim.TestPerlMailDKIM: *runtime_test
tests.package.test_python.TestPython2: *runtime_test
tests.package.test_python.TestPython3: *runtime_test
tests.package.test_python_argh.TestPythonPy2Argh: *runtime_test

View File

@ -0,0 +1,28 @@
from tests.package.test_perl import TestPerlBase
class TestPerlMailDKIM(TestPerlBase):
"""
package:
Mail-DKIM
direct dependencies:
Crypt-OpenSSL-RSA
MailTools
Net-DNS
Net-DNS-Resolver-Mock
YAML-LibYAML
indirect dependencies:
Crypt-OpenSSL-Random
Digest-HMAC
TimeDate
"""
config = TestPerlBase.config + \
"""
BR2_PACKAGE_PERL=y
BR2_PACKAGE_PERL_MAIL_DKIM=y
"""
def test_run(self):
self.login()
self.module_test("Mail::DKIM")